Coding Exercises present in the book JavaScript from Beginner to Professional
Self-check quiz-Chapter_01
- What is the HTML syntax to add an external JavaScript file? Ans: <script src = "app.js"></script>
- Can you run JavaScript in a file with a JS extension in your browser? Ans: Yes
- How do you write a multiple-line comment in JavaScript? Ans: /**/
- What is the best way to remove a line of code from running that you might want to keep as you debug? Ans: Comments