Css Questions
Css Questions
• Explain regular expression.write the code of emai verification, mobile number verification.
• Explain the basic building blocks of an HTML form. Include the different form elements like text, radio buttons, checkboxes.
• Write a JavaScript function that disables the right-click context menu on a webpage.
• Describe how you would dynamically change the value of a <select> element using JavaScript.
• Write a JavaScript function that toggles these properties on a text input field when a button is clicked.
• 5How do you evaluate whether a checkbox is selected or not in JavaScript? Write a JavaScript function that checks if a checkbox
is checked when the form is submitted, and displays an alert based on its state (checked or unchecked).
• Describe how you can dynamically change the label of a form element using JavaScript. Then, write a script that changes the label
of a text field to "Enter Your Full Name" when the page is loaded
• Explain how JavaScript can be used to display a message in the browser's status bar. Write a simple JavaScript code that changes
the status bar message when the user hovers over a link on the page.
• What is a banner advertisement, and how can it be linked to a URL using JavaScript? Write a script that displays a banner
advertisement and links it to an external website when clicked.
• Explain how to create a simple pulldown menu using HTML and JavaScript. Write a script that changes the background color of
the selected menu item when the user selects it.
• What are JavaScript frameworks, and why are they useful in web development? Name a few popular frameworks. Also, write a
basic JavaScript code to create a simple image slideshow on a webpage using plain JavaScript (no framework).