Professional Documents
Culture Documents
Technology
Prepared by :
Name : Romil bhalala
Bhavya Ardeshna
Guided by:
Dhruvi Patel
Prof.Maitry Desai
Darshan lakhani
Mohit Kalathiya
Enrollment no:
Semester : 3rd
Branch : Information Technology
Introduction
</body>
</html>
H1.js
function myFunction() {
document.getElementById("demo").innerHTML = "Paragraph
changed.";
}
Variables in JavaScript
3 Types of variable:
i: Var
Example: var x=“nothing”;
ii:Let
Example: Let x=“Everything”;
iii:Const
Example: Const x=“something:
Advantages
• Speed.
• Reduces load on the server.
• Ease of use.
• Rich Interface.
• Extended functionality.
• Popularity.
Disadvantages