HTML :
Head: the head is a logical part of the web page
Body: the body is the visual part of a web page
JavaScript :
- JavaScript is a client-side scripting language. It is used to convert static web pages to dynamic web pages.
- JavaScript is a scripting language, an object-based language, JavaScript follows purely functional programming principles
- It is developed by Netscape
- ES stands for ECMAScript.
- JavaScript is used to build Angular, React, Vue.js, and Node.js applications.
Key points :
- Synchronous execution: the execution happens in a sequential manner. the code will be executed line by line.
- JavaScript is an object-based scripting language.
- Console: it is a predefined object. It is used to debug the applications.
example : console.log("welcome...")
Script:
- The Script is simple and easy. weekly typed programming.
- Weekly means some things are not mandatory.
- For example, the semicolon is not required every time, variable type declaration is not compulsory
Types of scripts: The script is classified into two types: