Raju Webdev
Kanalga Telegramβda oβtish
ππ» Hi!, I'm Raju Web Developer and owner of Geeks Help where I provide the amazing content related to Computer Science or Programming with colored notes PDF, Web Projects and much more related to Web Development π₯
Ko'proq ko'rsatish1 766
Obunachilar
Ma'lumot yo'q24 soatlar
-37 kunlar
-1230 kunlar
Postlar arxiv
1 766
β
Source Code ππ»ππ»
π https://www.geekshelp.in/2023/03/responsive-item-cards-with-css-grid.html
1 766
Hey we need only 10 people to complete our first 100 people family on YouTube ππ
1 766
π΄ Subscribe Now ππ»ππ»ππ»ππ»ππ»
π https://yt.openinapp.co/rajuwebdev
1 766
πDay#8 Practice Sets
β
Qus.1: Use logical operators to find whether the age of a person lies between 10 and 20?
πSolution
let age = prompt("Enter your age");
age = Number.parseInt(age)
if (age > 10 && age < 20) {
console.log('Age lies between 10 and 20');
}
β
Qus.2: Demonstrate the use of switch case statements in Javascript
πSolution
let newAge = prompt("Enter Your age");
newAge = Number.parseInt(newAge)
switch (newAge) {
case 10:
console.log("Your age is 10");
break;
case 20:
console.log("Your age is 20");
break;
case 30:
console.log("Your age is 30");
break;
default:
console.log("Enter age 10, 20 or 30");
}
β
Qus.3: Write a JavaScript program to find whether a number is divisible by 2 and 3
πSolution
let num = prompt('Enter a number');
num = Number.parseInt(num)
if (num % 2 === 0 && num % 3 === 0) {
console.log('Number is divisible by 2 and 3');
}
else {
console.log('Number is not divisible by 2 and 3');
}
β
Qus.4: Write a JavaScript program to find whether a number is divisible by either 2 or 3
πSolution
let newNum = prompt('Enter a number');
newNum = Number.parseInt(newNum)
if (num % 2 === 0 || num % 3 === 0) {
console.log('Number is divisible by 2 and 3');
}
else {
console.log('Number is not divisible by 2 and 3');
}
β
Qus.5: Print "You can Drive" or "You Cannot Drive" based on age being greater than 19 using ternary operator.
πSolution
let myAge = prompt('Enter Your age');
myAge = Number.parseInt(myAge)
myAge>=18? "You Can Drive" : "You Cannot Drive"
1 766
π΄ Subscribe Now ππ»ππ»ππ»ππ»ππ»
π https://yt.openinapp.co/rajuwebdev
1 766
Hey I created my YouTube channel and if you want to learn Web Development from me then help me to gain 1k subscribers as soon as possible then I will start publishing videos π€©π€©π€©π€©
π΄ Subscribe Now ππ»ππ»ππ»ππ»ππ»
π https://yt.openinapp.co/rajuwebdev
1 766
π Bootstrap Responsive Footer with Social Media Icon π₯³
Source Code ππ»ππ»ππ»ππ»
π https://www.geekshelp.in/2023/06/bootstrap-responsive-footer-with-social.html
1 766
π Practice Sets for Day#5
β
Create a variable of type string and try to add a number to it!
β
Use typeof operator to find the data type of the string in last question
β
Create a const object in JavaScript. Can you change it to hold a number later?
β
Try to add a new key to the const object in Problem 3 where you able to do it?
β
Write a js program to create a work-meaning dictionary of 5 words.
Source #codewithharry
Endi mavjud! Telegram Tadqiqoti 2025 β yilning asosiy insaytlari 
