Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,75 @@
-->

<!-- 5. all styling should be placed in the style.css, make sure to correctly embed the external css file on the index.html file using the relevant tag -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Love For Adventure</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>

<header>
<h1>My Love For Adventure</h1>
</header>

<section>
<h2>About Me</h2>
<p>
My name is Grace Ndungu and I have always been passionate about adventure. Exploring new places, trying out different activities, and pushing my limits have always been a part of who I am.
</p>
</section>

<section>
<h2>Favorite Adventure Spots</h2>
<ul>
<li>Mountains: Climbing peaks and enjoying breathtaking views.</li>
<li>Beaches: Surfing, snorkeling, and relaxing by the sea.</li>
<li>Forests: Hiking through dense forests and camping under the stars.</li>
</ul>
</section>

<section>
<h2>Adventure Activities</h2>
<p>
Some of my favorite adventure activities include:
</p>
<ul>
<li>Hiking to remote locations</li>
<li>Rock climbing</li>
<li>White-water rafting</li>
<li>Paragliding</li>
<li>Bungee jumping</li>
</ul>
</section>

<section>
<h2>Explore More</h2>
<ul>
<li><a href="https://www.nationalgeographic.com/adventure/">National Geographic Adventure</a></li>
<li><a href="https://www.lonelyplanet.com/adventure-travel">Lonely Planet Adventure Travel</a></li>
</ul>
</section>

<section>
<h2>Adventure Image</h2>
<img src="mountain.jpg" alt="Mountain" width="400">
</section>

<section>
<h2>Subscribe for Adventure Newsletters</h2>
<form action="#" method="post">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<input type="submit" value="Subscribe">
</form>
</section>

<footer>
<p>Let's embark on new adventures together!</p>
</footer>

</body>
</html>
26 changes: 26 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}

header, section, footer {
padding: 20px;
margin-bottom: 20px;
background-color: #50C878;
border-radius: 5px;
}

h1, h2 {
color: #333;
}

ul {
list-style-type: none;
padding: 0;
}

footer {
text-align: center;
font-style: italic;
}