CSS 22519 4assignment
CSS 22519 4assignment
Q2. Describe, how to read cookie value and write a cookie value. Explain with example.
Q.4 Write a webpage that displays a form that contains an input for Username and password. User is
prompted to enter the input and password and password becomes value of the cookie. Write The
JavaScript function for storing the cookie . It gets executed when the password changes.
Q.6 Write Javascript to open new window when user clicks on button.
Q.9. Explain Date object With the help of example. Also explain its for methods.
Q.10 State What is Cookie? Explain its need. State characteristic of persistent cookie.
Q.11 Explain i) setTimeout() ii) setInterval() function with syntax and example.
Q.12 Write HTML code to design a form that displays two buttons START and STOP. Write a JavaScript
code such that when user clicks on START button, real time digital clock will be displayed on screen.
When user clicks on STOP button, clock will stop displaying time. (Use Timer methods).