86 lines
3.1 KiB
HTML
86 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- The head element contains machine-readable elements -->
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<!-- Page Title tag-->
|
|
<title>Llewellyn van der Merwe: Week 7</title>
|
|
<!-- Link tag to stylesheet -->
|
|
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
|
<!-- Links to Google Font -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<!-- Primary Font Cabin Sketch Bold 700 -->
|
|
<!-- Secondary Cinzel Decorative 700 -->
|
|
<!-- Typography Font Raleway Regular 400 -->
|
|
<link href="https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@700&family=Cinzel+Decorative:wght@700&family=Raleway&display=swap"
|
|
rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<!-- All content goes in the body element -->
|
|
|
|
<!-- Header element -->
|
|
<header>
|
|
<h1 class="prime">Llewellyn van der Merwe</h1>
|
|
<!-- Nav tag -->
|
|
<nav>
|
|
<!-- Unordered list tag -->
|
|
<ul class="navContainer">
|
|
<!-- list item tag -->
|
|
<li class="navItem active">
|
|
<!-- a tag to create a link -->
|
|
<a href="#">HOME</a>
|
|
</li>
|
|
<li class="navItem">
|
|
<a href="../html/about.html">ABOUT</a>
|
|
</li>
|
|
<li class="navItem">
|
|
<a href="../html/examples.html">EXAMPLES</a>
|
|
</li>
|
|
<li class="navItem">
|
|
<a href="../html/contact.html">CONTACT</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<!-- Main element -->
|
|
<main>
|
|
<div class="banner">
|
|
<picture>
|
|
<source srcset="../images/image3.jpg" media="(max-width: 769px)">
|
|
<source srcset="../images/image2.jpg" media="(max-width: 1025px)">
|
|
<img src="../images/image1.jpg" alt="Sunsets over the Atlantic" style="width: 100%" class="center">
|
|
</picture>
|
|
</div>
|
|
<!-- Article element -->
|
|
<div>
|
|
<!-- class home_article is set to background color lightgray and padding 10px -->
|
|
<article id="left" class="home_article">
|
|
<!-- Header 2 tag -->
|
|
<h2>First Header</h2>
|
|
<!-- Paragraph tag -->
|
|
<p class="piet">Maecenas quis odio sit amet ipsum maximus egestas. Maecenas gravida magna vehicula quam
|
|
pulvinar varius.
|
|
Vestibulum venenatis quam enim, a eleifend tortor blandit non. </p>
|
|
</article>
|
|
<article id="right" class="home_article">
|
|
<!-- Header 2 tag -->
|
|
<h2>Second Header</h2>
|
|
<!-- Paragraph tag -->
|
|
<p class="piet">Maecenas quis odio sit <span class="kyk">amet ipsum maximus</span> egestas. Maecenas gravida
|
|
magna vehicula quam pulvinar varius.
|
|
Vestibulum venenatis quam enim, a eleifend tortor blandit non. </p>
|
|
</article>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Footer element -->
|
|
<footer>
|
|
<!-- Paragraph tag -->
|
|
<p class="koos">Footer goes here.</p>
|
|
</footer>
|
|
</body>
|
|
</html>
|