5/9/2023 0 Comments Page speed test web![]() Whenever you set out to improve the load performance of a site, always start with an audit. In Microsoft Edge, go to to open the website: This local web server will be stopped when you close Visual Studio Code. In the terminal, type npx http-server to start a local web server. Visual Studio Code displays the source files in the Explorer sidebar, and displays the Terminal: In Visual Studio Code, click View > Terminal or press Ctrl + `. Open the folder you just downloaded or cloned in Visual Studio Code. Get the website's source code locally: Download or clone the Demos repo. Step 1: Set up the website locallyįirst, set up the website locally, so that you can make changes to it later: The source files for the website are at MicrosoftEdge / Demos > travel-site. In this tutorial, you improve the performance of Margie's travel, a fictitious travel website that contains travel images, text descriptions, a few JavaScript-based user interactions, and an interactive map. Install Node.js to use it as a local web server. Install Visual Studio Code to edit source code. Microsoft isn't responsible for and has no control over the content of these sites and any data that may be collected. The Lighthouse tool provides links to content that's hosted on third-party websites. This tutorial teaches you how to use Lighthouse and other tools in DevTools to find ways to make your websites load faster.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |