![]() You should see Chrome's "there is no Internet connection" error message. In the screenshot below the mouse is hovering over the checkbox.Īfter clicking the checkbox note the warning icon (yellow triangle with exclamation mark) next to the Network panel tab. Open DevTools, go to the Application panel, and enable the Offline checkbox. Now, you're going to simulate going offline using Chrome DevTools. This folder contains the static assets (HTML, CSS, and JavaScript) that you will use for this project. This repository has one main folder "app". You can use any web server, but for the rest of this codelab we'll assume that you're using Python's SimpleHTTPServer on port 3000, so the app will be available from localhost:3000. Make sure you are on the correct (final) branch by checking out the master branch. If you want to use the web server described in this codelab, you need Python installed on your command line.Ĭlone the GitHub repository from the command line over SSH: $ git clone HTTPS: $ git clone įirst, let's see what the finished sample app looks like (hint: it's amazing).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |