DSContEd / IntroWebDevelopment

At the end of the course, students will be able to plan, design, and implement a web site using current standards and best practices.
1 stars 1 forks source link

JavaScript Assignment #3 #32

Open TonyGoodDay2 opened 7 years ago

TonyGoodDay2 commented 7 years ago

Write a JavaScript for loop that will iterate from 0 to x. For each iteration, it will check if the current number is odd or even, and display a message to the screen. Sample Output : "0 is even" "1 is odd" "2 is even"



X should be set by the user in the HTML page