DEV Community

Anandhi P
Anandhi P

Posted on

Introduction to JavaScript

JavaScript is a programming language used to make websites interactive and dynamic.
HTML is used to create the structure of a webpage, CSS is used to add style, and JavaScript is used to add actions and behavior.

It can calculate, manipulate and validate data.

It can update and change both HTML and CSS.

Variables:

Variables act as containers for storing data values. Modern JavaScript uses let and const.

HTML → Creates the structure of a webpage.

CSS → Adds design and styling.

JavaScript → Adds functionality and interaction.

Top comments (0)