HTML: the building blocks
CSS: style it up!
JS: okay now make it run
broadly speaking: web dev concepts
the odd one out
100

What tag is used to create a hyperlink?

the <a> tag.

100

What property changes the background color of an element?

the background-color property.

100

What keyword declares a variable?

let or const.

100

What is responsive design?

design that adapts to different screen sizes.

100

<p>, <h1>, <div>, margin

margin.

200

What does the <alt> attribute do in the <img> tag?

provides alternative text for an image.

200

What is the difference between class and id selectors?

a class can be used on multiple elements, an id must be unique.

200

What function is used to write to the browser's console?

console.log().

200

What is accessibility?

the practice of designing sites usable by people with disabilities.

200

color, font-size, console.log(), padding

console.log().

300

This tag defines an unordered list.

the <ul> tag.

300

What property controls the space between the content of a box and its border?

the padding property.

300

This method selects an element by its ID.

document.getElementById()

300

What is the purpose of using <link rel="stylesheet" href="style.css"> in an HTML file?

it links an external CSS file to your webpage.

300

let, const, var, margin-top

margin-top.

400

What are semantic HTML elements? Give one example.

elements/tags that convey meaning. (ie. <article> <section> <nav>)

400

Which CSS unit is relative to the parent element's font size?

unit(s) of em.

400

What keyword is used to define a function?

the function keyword.

400

What is a wireframe?

a simple layout or blueprint for a website's structure.

400

<form>, submit, action, <label>

submit.

500

What is the difference between <div> and <span>?

<div> is a block-level element and <span> is inline.

500

What's the difference between a flexbox and grid layout?

flexbox is for one-dimensional layout (row or column), and grid is for two-dimensional layout (rows and columns)

500

What does this code print to the console?

let total = 5 + "5";

console.log(total);

55.

500

What does DOM stand for?

the document object model.
500

display: block, z-index, opacity, hover

hover.

M
e
n
u