Learn where to write and execute JavaScript Code | How to write JavaScript code?
► Subscribe To Me On Youtube: https://bit.ly/2z5rvTV
In this video I explain and show the 3 ways of how to write and execute your JavaScript code. I give a short demo of each and also explain the disadvantages of each.
👩🏻💻 Where to write and execute JavaScript:
► 1) Writing and executing JavaScript directly in the Browser Console is the simplest way to get started. It's practical when you want to try something out, but not an option for real programming. Find out why in the video.
► 2) The second option writing JavaScript code in the index.html file (called inline script) is better, but has some disadvantages in structuring and keeping HTML/CSS apart from your logic.
► 3) The third and last way to write JavaScript code, is writing the code in a separate JavaScript file and linking this file in the HTML file. This is the way to go, because it is clean and practical when your application gets bigger.
👩🏻💻 Simple Text Editor vs. Special Code Editor:
I also explain and show you the advantages of writing your JavaScript code in a special code editor instead of writing it in a simple text editor. One example is the highlighting of keywords or syntax error detection, which helps a lot in programming.
👩🏻💻 Understand file structure in real projects and file path
__________________________________________________________________________
0:00 - Start
0:05 - Writing JavaScript in the Browser Console
1:33 - Writing JavaScript in HTML file using script tag
3:28 - Advantages and disadvantages of using a simple Text Editor vs. special code editors like VS Code
7:16 - Separate JavaScript file and linking it in HTML file
9:04 - File structure in real projects and file path
► Download Visual Studio Code here: https://code.visualstudio.com/
► Chrome Download: https://www.google.com/chrome/
► Firefox Download: https://www.mozilla.org/en-us/firefox...
►► This is a complete JavaScript Tutorial for Beginners. If you are completely new to programming this will give you a step by step guide to learn JavaScript basic concepts and syntax. Subscribe or turn on the bell notification so you don't miss the new videos. 🙂
__________________________________________________________________________
💡 Maybe also interesting for you:
JavaScript Full Course here ► https://bit.ly/34yUrzj
Top 3 programming languages | meta analysis ► • Top 3 programming languages to learn in 20...
How websites work ► • How Websites Work | simply explained with ...
► For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about JavaScript or web development in general.
#javascript #js #webdevelopment #softwaredevelopment #coding #techworldwithnana #programming
-------------------------------------------------------------------------------------------------------
✅ Connect with me ✅
► Subscribe on Youtube: https://www.youtube.com/c/TechWorldwi...
► DEV: https://dev.to/techworld_with_nana
► Instagram: / techworld_with_nana
► Twitter: / njuchi_
Sur cette page du site, vous pouvez voir la vidéo en ligne Where to write JavaScript | Where to execute JavaScript Code | JavaScript Tutorial #3 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur TechWorld with Nana 01 mai 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 67,504 fois et il a aimé 1 mille téléspectateurs. Bon visionnage!