Assignments_No_3_4_CSS[1]
Assignments_No_3_4_CSS[1]
CSS 22519
Assignment No. 03
Q.1 Write a javascript program to create read, update and delete cookies.
Q.2 Write HTML script that will display dropdown list containing options such as Red, Green,
Blue & Yellow. Write a JavaScript program such that when the user selects any options.
It will change the background colour of webpage.
Q.4 Write a JavaScript that accepts user’s first name and domain name of organization from
user. The JavaScript then forms email address as <firstname@domain name> and
displays the results in the browser window.
Q.5 State what is a cookie ? Explain its need. State characteristics of persistent cookies.
Q.6 List any three properties of regular expression objects and state their use
Q.7 Write a webpage that displays a form that contains an input for username & password.
User is prompted to entre the input & password & password becomes the value of the
cookie. Write a JavaScript function for storing the cookie. It gets executed when the
password changes.
Q.8 Write a Java script to modify the status bar using on MouseOver and on MouseOut with
links. When the user moves his mouse over the link, it will display “MSBTE” in the status
bar. When the user moves his mouse away from the link the status bar will display
nothing.
Q.9 Write a script for creating following frame structure : Frame 1 contains three buttons
SPORT, MUSIC and DANCE that will perform following action : When user clicks
SPORT button, sport.html webpage will appear in Frame 2. When user clicks MUSIC
button, music.html webpage will appear in Frame 3. When user clicks DANCE button,
dance.html webpage will appear in Frame 4.
Q.10 List and explain any six form events.
शासकीय तं िनकेतन, मालवण
मु.पो. कुंभारमाठ, ता. मालवण, िज ा. िसंधुदुग िपन: ४१६६०६
CSS 22519
Assignment No. 04
FRAME 1
FRAME 2 FRAME 3
FRUITS
FLOWERS
CITIES
FRUITS, FLOWERS and CITIES are links to the webpage fruits.html, flowers.html, cities.html
respectively. When these links are clicked corresponding data appears in FRAME 3.
Q.9 Write a javascript program to design HTML page with books information in tabular
format, use rollovers to display the discount information.
Q.10 Write a JavaScript that sets a crawling status bar message to the webpage. Message
is “Welcome to the Mystic World of JavaScript”. The message must start crawling
when the webpage gets loaded.