1️⃣ πŸ–₯️ Run and Test Your Code - Option 1: Open Directly


πŸ–₯️ Run and Test Your Code - Option 1: Open Directly


Once you’ve Once you’ve downloded the source code, you need to run it in a browser to see the result.
You have three main ways in this lesson will discuss option 1:


πŸ–₯️ Option 1: Open Directly

  • Locate yourΒ index.htmlΒ file.
  • Double-click it β†’ it opens in your default browser.
  • Right Click the Page and click inspect then go to console tab, you will see the results there.


Works fine, but:

  • No auto-reload.
  • Some JS features (likeΒ fetchΒ local files) may not work properly.


πŸ‘‰ Now you can test and run JS codeΒ but you need browser and you can see the results in Devtools --> console tab .

Complete and Continue  
Discussion

2 comments