What is JavaScript? JavaScript is an object oriented and dynamic programming language created in 1995. In the frontend, JavaScript is what adds the interactivity and allows you to create a variety of...
What is a variable? Let's start with an example from real life. You decided to pack all your stuff into different boxes and place them into some storage. You put labels on each box so you can easier ...
Introduction > A string in any programming language is simply a sequence of characters between quotes. A can be a letter, number, punctuation, or even new lines and tabs. It just needs to be between...
What is a ? Boolean is a type of data that can have two different values: true or false. Do you like cat? YES Do you like beer? NO Comparison operators Logical operators : , , and Truthy and Fals...
Conditional statement 🔮 statement The statement is executed when the statement condition is false. 🔮 The statement To be able to chain multiple conditions, we usestatements. The statement is e...
Using a loop simply means : Repeat this code until some condition is true 🔮 > ### The while loop in JS the condition : once the condition is , the loop will end; the * code to execute* : the purpos...
🔮 What is a functions? Functions are one of the fundamental building blocks in JavaScript. A function is a set of statements that performs a particular task of the program. This task could be just ...