0% found this document useful (0 votes)
6 views

CSS Assignment

CSS Assigment ( Questions PYQ)

Uploaded by

Dhanshri Londhe
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

CSS Assignment

CSS Assigment ( Questions PYQ)

Uploaded by

Dhanshri Londhe
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

CSS Assignment No: 6

1. State any 4 properties of navigator object.


2. Explain, test and execute method of regular expression object with example.
3. List ways of protecting webpage and describe any of them.
4. Explain how to create and display rotating banner in JS with example.
5. Explain text and image rollover with suitable example.
6. What is status bar and how to display moving message on status line of window using JS.
7. Write code to display the form that displays two buttons start and stop, when user clicks
on start real time digital clock will be displayed on the screen, similarly when user clicks
on the stop button clock will stop displaying the time.
8. Write an html code to design a form that displays text boxes for accepting user id and
Aadhar number and submit button, the user id should contain 10 alphanumeric characters
and must start with Capital letter. Aadhar number should contain 12 digits in the format
“nnnn nnnn nnnn”. Write a JS code to validate user id and Adhar number when user
clicks on submit button (regular expression).
9. Write a script for creating following frame structure: frame1 contains 3 buttons sports,
music and dance that will perform following actions:
a. When user clicks sports button sports.html will appear in frame2
b. When user clicks music button music.html will appear in frame3
c. When user clicks dance button dance.html will appear in frame4
FRAME1
SPORTS MUSIC DANCE
Frame2 Frame3 Frame4

10. Write a JS to create pull down menu with 4 options AICTE, DTE, MSBTE, GOOGLE.
Once the user selects the options the user will be redirected that site.
11. Describe the navigator object of JS. Describe methods of navigator object which is used
to display browser name and version.
12. Write a JS that accepts string and searches for the pattern “MSBTE” in the given string
using regular expression. If the pattern is found display “pattern found” else “pattern not
found”.
13. Write a html script that displays names of brands of different laptops and an image when
mouse moves over the specific brand name the script must display the image of
respective laptop in the adjacent box
 Lenovo
 HP Image
 Dell

14. State the use of hiding the JS. Explain the steps needed to accomplish it and describe the
process.
15. Write a JS that demonstrates use of floating menu along with the respective html script.
16. Form the regular expression for the following:
a. validation of email address
b. validation of Aadhar card pattern: “dddd-dddd-dddd”
c. validation of phone number pattern: “(ddd) – (dddddddd)”
17. Write a JS that sets a crawling text into the status bar with the webpage when the
webpage gets loaded. Messsage: “Welcome to the world of Javascript”.
18. List any 3 properties of regular expression and state their use.
19. Explain the steps to create floating menu and chain select menu.
20. Explain how to use banners to display advertisements.
21. Write a JS to check whether the given address is valid IP address(version4) or not?
22. Write a JS to create rollover effect that involves text and images. When the user places
the mouse pointer over a book title corresponding book image appears.
23. Write a JS for protecting the webpage by implementing the following steps(along with
code):
a. Hiding source code
b. Disabling mouse button
c. Hiding JS
24. Develop a JS to create rotating banner ads with URL link.
25. Write a JS function to check first character of the string is Uppercase or not? (regular
expression)
26. Describe text rollover with example.
27. Write a JS program that will create pull down menu with 3 options and redirect to that
URL.
28. Describe quantifiers with example.
29. Describe frameworks of JS and its applications.
30. Write html script that will display following structure

Name:
Email:
Pin code:

Submit
Name, email and pin code should not be blank. Pin code should contain 6 digits and
doesn’t accept any character
31. Write an html script that will display drop down menu with options such as red, green,
blue and yellow. When the user selects the particular option it should change the
background color of the webpage.
32. Write a JS for folding tree menu

You might also like