JavaScript VARIABLES are easy! 📦

preview_player
Показать описание
00:00:00 declaration & assignment
00:01:51 numbers
00:04:29 strings
00:06:57 booleans
00:09:24 exercises

// variable = A container that stores a value.
// Behaves as if it were the value it contains.

let fullName = "Bro Code";
let age = 25;
let isStudent = false;

Рекомендации по теме
Комментарии
Автор

Wow never knew it was this easy great explanation 💪

GiftMthimunye
Автор

Simple and very methodological explanations I've ever seen. Deeply thankful for your job :)

ohjhhmn
Автор

Ohh finally i found a perfect channel for learning JS, thanks BroCode.

runaway
Автор

<*_> This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal. <_*>

piotrmazgaj
Автор

Thanks, bro. You're a real bro 💪

helioobianchi
Автор

thank you so much sir.. for great & clear explaination

saimothi
Автор

U are the the most giga chad on youtube ever thanks!!

DoNsMaK
Автор

// variable = A container that stores a value.
// Behaves as if it were the value it contains.

let fullName = "Bro Code";
let age = 25;
let isStudent = false;

= `Your name is ${fullName}`;
= `You are ${age} years old`;
= `Enrolled: ${isStudent}`;

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My website</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<p id="p1"></p>
<p id="p2"></p>
<p id="p3"></p>

<script src="index.js"></script>
</body>
</html>

BroCodez
Автор

Here before it gets released to public

EledeRR
Автор

I'm getting this error when i try to run it even when i copied and pasted everything from the comment or the video
Uncaught TypeError: Cannot set properties of null (setting 'textContent') what should i do?

izume
Автор

Hi, Good day. Please what is the difference between .innerHTML and .textContent

oluwajomilojuajagbe
Автор

I wrote
console.log('you are ${age} years old');

like this but it's not typing the number of age, it's just write the ${age} like this in the out put, I don't know what is my mistake.
help me ...

medad
Автор

when I write ${} the compiler read it as string
what the solve ??

Muuslim
Автор

whats the difference between var and let

AvisSpoofer
Автор

let x;
x = 100;
console.log(x)

Let age=25;
console.log(age) /
console.log (`you are {age} years old`)

a.