Professional Documents
Culture Documents
Lab Question 1
Lab Question 1
Lab Question 1
1. Write a JavaScript program to find the volume of cuboid taking inputs from user.
2. Write a JavaScript program to validate only number validation.
3. Write a JavaScript program to validate password and re-type password validation.
4. Write a JavaScript program with at least three events.
5. Write a JavaScript program with alert message after click on a button.
6. Write a JavaScript program to change the content of html document with inner html.
7. Write a JavaScript program using getElementById to find the cube of a number taking input
from form.
8. Write a JavaScript program to implement regular expression using test method.
9. Write a JavaScript program to create a cookie with username NIMS and display cookie using
alert box.