1

Emma is writing a CSS rule to center the text inside a div. She tries several properties. Which CSS property should Emma use to horizontally center the text content?

2

Which HTML tag is used to create a hyperlink?

3

Which technology helps fix errors in programs?

4

Which website updates content without reloading the page?

5

Which tool helps developers find errors?

6

What is the main purpose of CSS?

7

Which JavaScript data type stores true or false?

8

Which HTML element is a container for other elements?

9

Hassan is testing his JavaScript. He has a variable named 'score' set to 10. He wants to increase the score by 5. Which line of code should he write?

10

Which tag contains JavaScript code in HTML?

11

Zara is building a dynamic website. She wants to update the content of a div with id 'output' using JavaScript. Which method should she use?

12

In CSS, which selector is used to style a single, unique element on a page?

13

Oliver is debugging his JavaScript code. He has a function that should return true if a number is positive, but it returns false for positive numbers. He suspects the condition is wrong. Which condition is correct for checking if a number is positive?

14

In CSS, which property is used to change the text color of an element?

15

Which CSS property is used to change text color?

16

Umar is debugging a JavaScript program that calculates the area of a rectangle. The formula is length * width. He gets NaN as output. What could be the reason?

17

In JavaScript, which statement is used to declare a variable?

18

Rania is debugging her CSS. She applied a style to a class, but it is not showing up on the webpage. She checks and finds another rule with higher specificity is overriding it. Which rule has higher specificity: an id selector or a class selector?

19

The process of finding and fixing errors in a program's source code is known as:

20

Which HTML tag is used to create a hyperlink to another web page?

21

Which JavaScript event occurs when a button is clicked?

22

Diana is working with HTML lists. She wants to create a list where each item has a bullet point. Which list type should she use?

23

Amina is building her first webpage and wants to add a heading that says 'Welcome to My Page'. She knows that HTML has different levels of headings. Based on HTML standards, which tag should Amina use for the main heading of her page?

24

Which part of a website controls behavior?

25

Which error is caused by incorrect grammar of code?