JS Tasks
16 JavaScript exercises — click any task to expand
#01
Find Odd / Even Number
▼
Check
Result will appear here…
#02
Find All Even Numbers up to N
▼
Find Evens
Result will appear here…
#03
Check Positive or Negative
▼
Check
Result will appear here…
#04
Convert KM to Miles
▼
Convert
Result will appear here…
#05
Print Primes Between Two Numbers
▼
Find Primes
Result will appear here…
#06
Find & Count Vowels in a String
▼
Count Vowels
Result will appear here…
#07
Print Even Numbers Within a Range
▼
Find Evens
Result will appear here…
#08
Print Odd Numbers Within a Range
▼
Find Odds
Result will appear here…
#09
Binary to Decimal Conversion
▼
Convert
Result will appear here…
#10
Power of a Number (without pow())
▼
Calculate
Result will appear here…
#11
Print Alphabets A–Z and a–z
▼
Print Alphabets
Result will appear here…
#12
Find Factorial of a Number
▼
Calculate
Result will appear here…
#14
Find Prime Number or Not
▼
Check
Result will appear here…
#15
Find Leap Year or Not
▼
Check
Result will appear here…
#16
Find Palindrome
▼
Check
Result will appear here…
#17
Print Fibonacci Series
▼
Generate
Result will appear here…
#18
Convert Fahrenheit to Celsius
▼
Convert
Result will appear here…
#19
Reverse a String
▼
Reverse
Result will appear here…
#20
Print Factorial of a Number (Recursive)
▼
Calculate
Result will appear here…
#22
GCD of Two Numbers
▼
Find GCD
Result will appear here…
#23
LCM of Two Numbers
▼
Find LCM
Result will appear here…
#24
Palindrome Number Check
▼
Check
Result will appear here…
#25
Swap Two Numbers
▼
Swap
Result will appear here…
#26
Rearrange String in Alphabetical Order
▼
Sort
Result will appear here…