CSS Assignment
CSS Assignment
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