HEADER ADS 728X90

How to use variable in javascript | JS Tutorial | By Codeprime

global variable javascript,
types of variables in javascript,
string to variable javascript,
var vs let javascript,
scope of variables in javascript,
var function javascript,
var java,
javascript let,codeprime, coding tutorial, how to learn coding easy way to learn coding

Hi dear welcome to "CodePrime" Blog . In this post we are going to learn to makeing css recipe card design for your blogpost. First Creat A index.html file Copy This HTML CODE and pest it one your code editor. 2ndly creat script.js file Then Copy The jS CODE and pest it then open the index.html file with your browser.

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="script.js"></script>
    <title>Variable In javascript</title>
</head>
<body>


</body>
</html>

JS

 let age; //variable name
        age=22; //variable value
        console.log(age); //variable print

Youtube Tutorial

FLOW US ON SOCIAL MEDIA

Post a Comment

0 Comments

Join Telegram