Skip to main content

Command Palette

Search for a command to run...

JAVA SCRIPT[ js]

Published
1 min read

What is java script?

JavaScript (JS) is a high-level, interpreted programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. Over 97% of websites use it, and all major web browsers have a dedicated JavaScript engine to execute it.

The three layers of standard web technologies; HTML, CSS and JavaScript

HOW TO ADD SCRIPT TO TML PAGE

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="./math.js"></script>
</body>
</html>

by this way we have to add the script page

VARIABLES AND DATATYPES

-> CONSOLE.LOG() is used to print text in console page

EG:-

console.log("enter the code")