diff --git a/guides/your-first-webpage.html b/guides/your-first-webpage.html index 0b4d0a9..8f05880 100644 --- a/guides/your-first-webpage.html +++ b/guides/your-first-webpage.html @@ -65,7 +65,7 @@
So now we'll add some visible content, to make a real webpage, and not just a blank page.
Between the body tags, we'll add a very simple introduction about ourselves. Change the content between the tags to whatever you want. I'll explain them in a later guide, but for now just play around.
-<div class="layout-wrapper">
+<main><div class="layout-wrapper">
<h1>Hi, I'm <em>Aney</em></h1>
<p>Welcome to my site, it's pretty cool!</p>
<h2>Skills</h2>
@@ -79,7 +79,7 @@
<img src="https://via.placeholder.com/200x200/">
<img src="https://via.placeholder.com/200x200/">
<img src="https://via.placeholder.com/200x200/">
-</div>
+</div></main>
Now if you refresh the webpage, tada! We have content.
@@ -92,8 +92,10 @@For the actual styling, add the following snippet between the style tags.
-html{
+html,body{
height: 100%;
+}
+html{
font-size: 12px;
background: #67aacc;
background: linear-gradient(0, #67aacc 0%, #8cecf5 35%, #8cecf5 55%, #fff 100%);