
II · The Starlight Lab
Frontend trivia questions
Frontend trivia
40 Frontend trivia questions, no sign-in. Review your misses in the LoreUp app.


- What is the small icon representing a site that appears next to its name on a browser tab?Frontend
- Which web browser did Google first release in 2008?Frontend
- Which CSS property makes text bolder or lighter?Frontend
- Which CSS pseudo-class makes a button change colour only while the mouse pointer is over it?Frontend
- To make a link made with an <a> tag open in a new tab, what value goes in its target attribute?Frontend
- What is the meaningless mock-Latin text used to fill space in a design mock-up in place of real copy?Frontend
- Which HTML attribute shows faint hint text such as 'Enter your email' inside an input box?Frontend
- Which language, released by Microsoft in 2012, adds static types to JavaScript?Frontend
- Adding defer to a <script> tag makes the script run after the HTML document has been fully parsed.Frontend
- Which HTML tag marks the largest heading?Frontend
- Which tool, opened by pressing F12 in a browser, lets you inspect and tweak a page's HTML and CSS?Frontend
- The CSS color property sets an element's background colour.Frontend
- Most HTML tags come in pairs, an opening and a closing tag, like <div> and </div>.Frontend
- The same web page can look slightly different from one browser to another.Frontend
- The higher an element's CSS z-index value, the further back it sits behind other elements.Frontend
- An element given position: fixed stays in the same place on the screen even when the page is scrolled.Frontend
- In JavaScript, == and === are comparison operators that give the same results.Frontend
- The text in an HTML <title> tag appears as a large heading at the top of the page body.Frontend
- The CSS rem unit sizes things relative to the font size of the root element (html).Frontend
- Using 'View page source' in a browser lets you see the raw HTML of that web page.Frontend
- HTML files cannot be created with a plain text editor such as Notepad.Frontend
- Flexbox was designed to lay out elements in two directions at once, rows and columns, like a grid.Frontend
- Which HTML tag creates a link that takes you to another page?Frontend
- In CSS, when rules overlap on the same element, the rule written first wins.Frontend
- A media query is the syntax for applying the same style whatever the screen size.Frontend
- What do we call registering a JavaScript function to run when a button is pressed?Frontend
- Which markup language is used to express the structure of a web page?Frontend
- Which language sets the look of a web page, such as its fonts, colors, and layout?Frontend
- Which language runs in the web browser as it stands and puts behavior into a web page?Frontend
- Which program fetches a web page and draws it on screen?Frontend
- Which mark goes in front of the name when writing a class selector in CSS?Frontend
- Which attribute of the `<img>` tag holds the description read out in place of the image when it cannot be seen?Frontend
- Which CSS layout method is used to line elements up along one direction, across or down?Frontend
- Which CSS syntax makes a page responsive by applying different styles according to the screen width?Frontend
- JavaScript can respond to a user action such as a button click by attaching an event listener to it.Frontend
- HTML is the markup language that sets out the structure of a web document.Frontend
- CSS is used to dress the look of a web page, such as its fonts, colors, and layout.Frontend
- A web browser only makes web pages and cannot show them on screen.Frontend
- In CSS, a class selector is written with a dot (.) in front of the name.Frontend
- The alt attribute of an `<img>` tag holds the description read out in place of the image when it cannot be seen.Frontend

