Practice 6
You can see a completed example here:
Create a "6" folder and an
index.html
file containing the basic HTML structure for a page.Add a viewport meta tag and stylesheet link within the head, such as:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Practice Excercise #6</title>
<meta name="description" content="Practice Exercise #6 is the bee's knees.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- REPLACE THIS COMMENT WITH THE HTML FOR THE LAYOUT -->
</body>
</html>Create a float-based, mobile-first layout.
The layout should be 2 or more columns on large displays and a single column on small displays.
Use a CSS Media Query to accomplish this.
noteYou can see a completed example here:
Embed an image in your main and/or aside column. Use an image that is large enough so you can see it scale down when the screen is made smaller.
Add some type of content in the main element. Feel free to use Lorem Ipsum dummy text.
Use the position property to position some element on your page.
In my practice exercise example, I chose to position an
img
element.Push your changes to your Github repository.
You can see a completed example here: