Which tag is used to define a section of navigation links in a webpage?
What is <nav>?
Which CSS property changes the background color of an element?
What is background-color?
Who invented the World Wide Web?
Who is Tim Berners-Lee?
What is the shortcut to save a file on most operating systems?
What is Ctrl + S?
Which CSS property enables Flexbox on a container?
What is display: flex?
Which tag is used to create a hyperlink (link to web page) in HTML?
What is <a>?
What is the hexadecimal code for the color black?
What is #000000?
What is the most popular web browser which emerged in the late 1990's?
What is Google?
Which shortcut reopens the last closed tab in a browser?
What is Ctrl + Shift + T?
What does the justify-content: center property do in a Flexbox container?
What is centers the items along the main axis?
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?
Write the CSS code to make text bold and colored blue.
font-weight: bold; color: blue;
In what year was the first website created?
What is 1991?
Which method in JavaScript is used to add an event listener to a button?
What is addEventListener()?
Which Flexbox property controls the direction of items within a container?
What is flex-direction?
Which semantic tag is used to define the footer of a webpage?
What is <footer>?
Which CSS property adds space inside an element, between its content and border?
What is padding?
What was the purpose of ARPANET, the predecessor of the internet?
What is to allow military and academic researchers to share data?
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?
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
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>
What is the purpose of the @import rule in CSS?
What is to load external fonts or stylesheets into a CSS file?
What are the three components Tim Berners-Lee developed to create the web?
What are the URL, HTTP, and HTML?
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);
Write the CSS to create a Flexbox container that:
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;