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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# js-project-business-site
# js-project-business-site

https://js-project-business.netlify.app/
Binary file added images/Group 2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Intersect.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/annie-spratt-AAJOt76pQtY-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/camping.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/chris-lawton-6tfO1M8_gas-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/daniel-j-schwarz-wGoKAJGAeNs-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/ewan-robertson-5kP9M84AGUE-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/jonny-gios-6kHkMDEaqVw-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lesly-derksen-F4fH5dAfZnE-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/matthew-smith-Rfflri94rs8-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/navicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/quentin-zwzeorQPepo-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tino-rischawy-kJ1Ndy-Q3Fw-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
119 changes: 119 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Find My Trail</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Container for all the content -->
<div class="layout-container">

<header>
<section class="nav-menu">
<div class="nav-links">
<ul>
<!-- Navigation links on desktop -->
<li><a href="/home">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</div>
</section>
<nav>
<!-- Hamburger menu -->
<section class="ham-menu">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</section>
</nav>
<!-- Header text -->
<section class="header-text">
<h3>THE GREAT OUTDOORS</h3>
<h1>Find My Trail</h1>
</section>
</header>
<!-- Container for my cards and form -->
<main class="container">
<section class="text-container">
<h3>EXPERIENCE</h3>
<h2>The Thrilling Outdoors</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</p>
<p>lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</section>

<section class="mid-content">
<article class="card1">
<div class="card-text">
<h2>Trail Guide</h2>
<p>Lorem, ipsum dolor sit amet <br> consectetur adipisicing elit. <br> Tenetur dolore sed accusantium nisi molestias.</p>
</div>
</article>

<article class="card2">
<div class="card-text">
<h2>Scenic Routes</h2>
<p>Lorem, ipsum dolor sit amet <br> consectetur adipisicing elit. <br> Tenetur dolore sed accusantium nisi molestias.</p>
</div>
</article>

<article class="card3">
<div class="card-text">
<h2>Trail & Error</h2>
<p>Lorem, ipsum dolor sit amet <br> consectetur adipisicing elit. <br> Tenetur dolore sed accusantium nisi molestias.</p>
</div>
</article>
</section>

<section class="text-content">
<p>Lorem, ipsum dolor sit amet consectetur </p>
</section>

<section class="form-section">
<article class="card4">
<form action="https://httpbin.org/anything" method="POST">
<h3>Walk with us!</h3>

<label for="fname">First Name</label>
<input
type="text"
id="fname"
name="firstname" required
placeholder="Your name..">

<label for="lname">Last Name</label>
<input
type="text"
id="lname"
name="lastname" required
placeholder="Your last name..">

<label for="email">Your emailaddress..</label>
<input
type="email"
name="email" required
placeholder="Your emailadress...">

<button type="submit">Start hiking</button>

</form>
</article>
</section>
</main>

<footer>
<p>&copy; Find My Trail. All rights reserved.</p>
</footer>

</div>

<script src="script.js"></script>

</body>
</html>

12 changes: 12 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Find the hamburger icon
const hamMenu = document.querySelector(".ham-menu");
// Find the menu panel
const navMenu = document.querySelector(".nav-menu");

// When the hamburger icon is clicked
hamMenu.addEventListener("click", () => {
// ...adds a class called "active" to the icon to change it to an "X".
hamMenu.classList.toggle("active");
// ...and add the "active" class to the menu to make it slide out.
navMenu.classList.toggle("active");
});
Loading