Every web page you open is built from the same three languages, and a handful of CSS ideas decide where everything lands on the screen. These are the ideas behind each question in the quiz, so if one caught you out, its section is below.
HTML, CSS and JavaScript
Each of the three front-end languages has one job:
- HTML describes the content and its structure: headings, paragraphs, links, images, forms.
- CSS styles it: colours, fonts, spacing, and where each element sits on the page.
- JavaScript makes it behave: reacting to clicks, fetching data, changing the page after it has loaded.
Keeping them apart is what lets you restyle a whole site by changing one stylesheet, without touching the HTML. SQL sometimes gets mixed into this list, but it belongs to the back end: it is the language for querying a database, and the browser never runs it. The Backend Quiz covers that side.
Links and images in HTML
A link is the <a> element, short for 'anchor'. Its href attribute holds the address it points to, and the text between the tags is what the reader clicks:
<a href="/videos/backend-quiz">Try the backend quiz</a>Two other names are easy to mix up with it. is an attribute, not a tag of its own. And there is a real element, but it does something else: it sits in the page's and connects the page to a resource such as a stylesheet. It never shows up as something to click.
Wondering how this was made? How we make these