HEADER ADS 728X90

How to use Primitive Data Type Explain, Number,Strings,Bluean,Undefined,Null | JS Tutorial | By Codeprime

javascript,tutorial,primitive data type java,,what is primitive data type in javascript,,is string a primitive data type in ,javascript tutorial for beginners,javascript full course,Primitive Data Type Explain,Number,Strings,Bluean,Undefined,Null,, codeprime, coding tutorial, how to learn coding easy way to learn coding

Hi dear welcome to "CodePrime" Blog . In this post you are going to learn How to use Primitive Data Type Explain, Number,Strings,Bluean,Undefined,Null. First Creat A index.html file Copy This HTML CODE and pest it one your code editor. 2ndly creat premitive.js file Then Copy The JS CODE and pest it . Then conect the script file on index . Now open the index.html file with your browser.

HTML CODE

<!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="/js/premitive.js"></script>
    <title>premitive data type</title>
</head>
<body>
    <h2>Javascript Tutorial</h2>
    <h2>Premitive data Type</h2>
    <h3>By Codeprime</h3>
   
</body>
</html>

JAVASCRIPT CODE

//Number
let age=22;
console.log(age);

//Strings
let name='abdullah Sheikh';
let ab='22';
console.log(name);
console.log(ab);

//Bulean
let option=false;
console.log(option);

//Unidentified
let width;
console.log(width);

//null
let null;

Youtube Tutorial

FLOW US ON SOCIAL MEDIA

Post a Comment

0 Comments

Join Telegram