Lab Question 1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Subject: Scripting Language

Lab report questions:

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.

You might also like