Back to Web Development Foundations (HTML, CSS & JS)
Final Assessment

Web Development Foundations Final Assessment

Test your understanding of semantic HTML5, forms, CSS Box Model, Flexbox, Grid, CSS variables, JavaScript, DOM events, Fetch API, DevTools, and deployment.

Answered 0 of 15 questionsPass mark: 70%
Question 1

Question 1 of 15

In the HTML/CSS/JavaScript trio, which technology handles structure and meaning (headings, forms, landmarks)?

Question 2

Question 2 of 15

Why should <label for='email'> match <input id='email'>?

Question 3

Question 3 of 15

What does box-sizing: border-box do in CSS?

Question 4

Question 4 of 15

Which CSS property creates a responsive multi-column card grid without media queries?

Question 5

Question 5 of 15

Why do CSS best practices recommend rem over px for typography?

Question 6

Question 6 of 15

In modern JavaScript, which equality operator should you use to avoid unexpected type coercion?

Question 7

Question 7 of 15

Why should you prefer element.textContent = userInput over innerHTML for plain text?

Question 8

Question 8 of 15

Why do we call event.preventDefault() inside a form submit listener?

Question 9

Question 9 of 15

What must you check after const res = await fetch(url) because fetch() does not throw on HTTP 404/500?

Question 10

Question 10 of 15

Which Browser DevTools tab shows HTTP status codes and JSON payloads for fetch() requests?

Question 11

Question 11 of 15

In a default horizontal Flexbox row (flex-direction: row), which property controls vertical alignment along the cross axis?

Question 12

Question 12 of 15

Why do we wrap objects or arrays in JSON.stringify(...) before calling localStorage.setItem(key, val)?

Question 13

Question 13 of 15

Which two CSS properties animate smoothly on the GPU without triggering expensive layout reflows?

Question 14

Question 14 of 15

What does [1, 2, 3].filter((n) => n > 1) return in JavaScript?

Question 15

Question 15 of 15

What happens when a CSS Grid item has grid-column: span 2;?

Answer 15 more questions to submit.