postheadericon JavaScript Exercises

1.  Write a JavaScript that shows how a variable’s type can be changed on-the-fly.
2.  Write a JavaScript that demonstrates the use of +=,-=,*=,/= operators.
3.  Create a Form in HTML with two fields, minimum and maximum, write JavaScript to validate that only numeric value is entered in both, and the value entered in minimum is less than the value entered in maximum.
4.  Write a JavaScript that finds out multiples of 10 in 0 to 10000. On the click of button start the timer and stop the counter after 10 seconds. Display on the screen how many multiples of 10 are found out within stipulated time.
5.  Write a JavaScript to generate two random numbers and find out maximum and minimum out of it.

Total Pageviews

© Powered by Blogger.