Getting Started
This chapter mainly explains how to add JavaScript code in HTML files, master the necessary basic grammar, and lay the foundation for future chapters.
Why Learn JavaScript?
This course is a simple and basic course for novices, allowing you to quickly understand JS and experience JS through some simple code writing.
Date: 2022-11-16 03:44:18
How to insert JavaScript in HTML
You only need one step, use the <script> tag to insert the JavaScript code in the HTML page. Note that the <script> tags should ap...
Date: 2022-11-16 03:49:34
Reference JavaScript as external file
Can JavaScript codes only be written in HTML files? Of course not, we can separate HTML files from JS codes, and create a separate JavaScript file ...
Date: 2022-11-16 03:56:28
Places to put JavaScript in the page
We can place JavaScript code anywhere in the HTML file, but we generally place it in the head or body of the web page. Placed in the <head> s...
Date: 2022-11-16 06:03:30