tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code12:49

JavaScript VARIABLES are easy! 📦

Bro Code ↗

From the creator

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; document.getElementById("p1").textContent = `Your name is ${fullName}`; document.getElementById("p2").textContent = `You are ${age} years old`; document.getElementById("p3").textContent = `Enrolled: ${isStudent}`;

Published 2023-11-01 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code