top of page
For Loop : Task 1
Write a "for" loop that will perform exactly the same repetitive code as this: console.log(1) console.log(2) console.log(3)...
satyanarayan behera
Aug 25, 20221 min read
Â
Â
Â
If else : Exercise: Practice conditional statements
Complete the following steps to create: Are You Old Enough? Declare a variable age using the var keyword and set it to the number 10. Add...
satyanarayan behera
Aug 25, 20221 min read
Â
Â
Â
Task 3: Using the modulus operator, %, to test if a given number is odd
You need to code a small program that takes a number and determines if it's an even number (like 2, 4, 6, 8, 10). To achieve this task,...
satyanarayan behera
Aug 25, 20221 min read
Â
Â
Â
Task 2: Using the logical || operator
Imagine you are coding a video game. Currently, you’re about to code some snippets related to the game over condition. You need to code a...
satyanarayan behera
Aug 25, 20221 min read
Â
Â
Â
Task 1: Using the logical && operator
You are coding an RPG game, where each character has certain skill levels based on the value saved in their score. Create a variable named...
satyanarayan behera
Aug 25, 20221 min read
Â
Â
Â
Data type in Javascript
We are using variables in JavaScript for various purposes. it is mandatory to understand the data contained by the variable of which type...
satyanarayan behera
Aug 25, 20221 min read
Â
Â
Â
bottom of page