FBISE, NCP & NBF-aligned resources for Classes 9–12

/10

Computer Chapter 3 : Topic 3.4

CSS properties that can be changed with JavaScript

1 / 10

A student creates a button that changes the color of a heading when it is clicked without reloading the webpage. Which CSS property is JavaScript modifying?

2 / 10

A webpage allows users to switch between light mode and dark mode by clicking a button. Which aspect of CSS is most likely being changed by JavaScript?

3 / 10

A user clicks a button to increase the size of the text displayed on a webpage. Which CSS property can JavaScript modify to achieve this?

4 / 10

A web application highlights an input field with a red border when invalid data is entered. Which CSS property is being changed?

5 / 10

A student writes JavaScript code that hides an image when a button is clicked. Which CSS property is most likely modified?

6 / 10

A webpage automatically moves a notification box to a different location on the screen. Which CSS aspect can JavaScript modify?

7 / 10

A developer wants a button to become wider when the mouse pointer moves over it. Which CSS property can JavaScript change?

8 / 10

A webpage changes the background image of a section based on user selection. Which CSS property is affected?

9 / 10

A navigation menu becomes transparent when the user scrolls down the page. Which CSS property is likely modified by JavaScript?

10 / 10

A programmer uses JavaScript to make a hidden message appear gradually by changing its visual appearance. Which CSS-related capability is being used?

Your score is

0%

9th class objective books