Beginner JS question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Beginner JS question

How do I code this is JavaScript 1. User inputs a number 2. Calculate if it’s divisible by 4 3. If it is, say that it’s a leap year

27th Jan 2022, 2:10 AM
Jory
1 Answer
+ 4
You need examples and/or inspirations? you can search Code Playground with 'leap year' term. Don't forget to enable filter for project type to "Web" 👍
27th Jan 2022, 2:14 AM
Ipang