HTML Basics
CSS Fundamentals
Web History
MISC I
MISC II
100

Which tag is used to define a section of navigation links in a webpage?

What is <nav>?

100

Which CSS property changes the background color of an element?

What is background-color?

100

Who invented the World Wide Web?

Who is Tim Berners-Lee?

100

What is the shortcut to save a file on most operating systems?

What is Ctrl + S?

100

Which CSS property enables Flexbox on a container?

What is display: flex?

200

Which tag is used to create a hyperlink (link to web page) in HTML?

What is <a>?

200

What is the hexadecimal code for the color black?

What is #000000?

200

What is the most popular web browser which emerged in the late 1990's?

What is Google?

200

Which shortcut reopens the last closed tab in a browser?

What is Ctrl + Shift + T?

200

What does the justify-content: center property do in a Flexbox container?

What is centers the items along the main axis?

300

What attribute is required in the <img> tag to provide a description for accessibility or in case the image does not load?

What is alt?

300

Write the CSS code to make text bold and colored blue.

font-weight: bold; color: blue;

300

In what year was the first website created?

What is 1991?

300

Which method in JavaScript is used to add an event listener to a button?

 What is addEventListener()?

300

Which Flexbox property controls the direction of items within a container?

What is flex-direction?

400

Which semantic tag is used to define the footer of a webpage?

What is <footer>?

400

Which CSS property adds space inside an element, between its content and border?

What is padding?

400

What was the purpose of ARPANET, the predecessor of the internet?

What is to allow military and academic researchers to share data?

400

What happens when flex-wrap: wrap; is applied to a Flexbox container?

What is items wrap onto the next line when there is no more space?

400

What are px and vw and what is the difference between them?

What is, 

px = pixel, is a fixed unit of measurement

vw = viewport width, is the percentage of the width of the screen viewing the website

500

Write the HTML code to create a table with two rows and three columns.

<table>

    <tr>

        <td>1</td>

        <td>2</td>

        <td>3</td>

    </tr>

    <tr>

        <td>4</td>

        <td>5</td>

        <td>6</td>

    </tr>

</table>


500

What is the purpose of the @import rule in CSS?

What is to load external fonts or stylesheets into a CSS file?

500

What are the three components Tim Berners-Lee developed to create the web?

What are the URL, HTTP, and HTML?

500

Write the JavaScript code to change the background color of the webpage to light blue when a button is clicked.

function changeBackground() {
document.body.style.backgroundColor = 'lightblue';
};
document.getElementById('button').addEventListener('click', changeBackground);

500

Write the CSS to create a Flexbox container that:

  • Centers items vertically and horizontally.
  • Wraps items to a new line if there isn’t enough space.

display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;