Skip to content

Commit

Permalink
added basic HTML structure to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahRector committed Jul 27, 2020
1 parent 55b2514 commit e4bbf6e
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 12 deletions.
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
}
20 changes: 18 additions & 2 deletions about-us/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,26 @@
<link rel="stylesheet" href="./about-us.css">
<link rel="stylesheet" href="../styles/style.css">

<title>Document</title>
<title>FungusAmongUs</title>
</head>
<body>
<span>This is the About Us page</span>
<header>Hark...a header</header>
<nav>
<a href="../home/index.html">Home</a>
<a href="../all-mushrooms/index.html">All Mushrooms</a>
<a href="../basket/index.html">User's Mushroom Basket</a>
<a href="../about-us/index.html">The Fun-Guys</a>
</nav>
<main>
<img src="http://www.placekitten.com/200/200">
<p>Brooke</p>
<img src="http://www.placekitten.com/300/200">
<p>Michelle</p>
<img src="http://www.placekitten.com/200/300">
<p>Josh</p>
<img src="http://www.placekitten.com/150/250">
<p>Sarah</p>
</main>
</body>

<!-- <script type="module" src="./home.js"></script> -->
Expand Down
9 changes: 8 additions & 1 deletion all-mushrooms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@
<link rel="stylesheet" href="../styles/reset.css">
<link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="./all-mushrooms.css">
<title>Document</title>
<title>FungusAmongUs</title>
</head>

<body>
<header>Hark...a header</header>
<nav>
<a href="../home/index.html">Home</a>
<a href="../all-mushrooms/index.html">All Mushrooms</a>
<a href="../basket/index.html">User's Mushroom Basket</a>
<a href="../about-us/index.html">The Fun-Guys</a>
</nav>

<main>
All Mushrooms Page
Expand Down
13 changes: 11 additions & 2 deletions basket/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@
<link rel="stylesheet" href="./basket.css">
<link rel="stylesheet" href="../styles/style.css">

<title>Document</title>
<title>FungusAmongUs</title>
</head>
<body>
<span>This is the basket</span>
<header>My Mushroom Basket</header>
<nav>
<a href="../home/index.html">Home</a>
<a href="../all-mushrooms/index.html">All Mushrooms</a>
<a href="../basket/index.html">User's Mushroom Basket</a>
<a href="../about-us/index.html">The Fun-Guys</a>
</nav>
<main>

</main>
</body>

<script type="module" src="./basketUtils.js"></script>
Expand Down
20 changes: 18 additions & 2 deletions home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,27 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./home.css">
<link rel="stylesheet" href="../styles/style.css">


<title>Document</title>
<title>FungusAmongUs</title>
</head>
<body>
<span>This is the homepage</span>
<header>Ahh,,,,a header</header>
<nav>
<a href="/index.html">Home</a>
<a href="../all-mushrooms/index.html">All Mushrooms</a>
<a href="../basket/index.html">User's Mushroom Basket</a>
<a href="../about-us/index.html">The Fun-Guys</a>
</nav>

<main>
<section id="map">
<img src="https://placekitten.com/400/400"/>
</section>
<section>

</section>
</main>
</body>

<script type="module" src="./home.js"></script>
Expand Down
15 changes: 12 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,22 @@
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/reset.css">
<link rel="stylesheet" href="styles/style.css">
<title>Document</title>
<title>FungusAmongUs</title>
</head>

<body>

<header>FungusAmongUs</header>
<main>
Landing Page
<section id="description">This is a description of what this site does!</section>
<form>
<label>User Name
<input type="text" placeholder="Slippery Jack"/>
</label>
<label>Password
<input type="password" placeholder="password"/>
</label>
<button id="submit-button">Submit</button>
</form>

</main>

Expand Down
13 changes: 11 additions & 2 deletions mushroom-details/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@
<link rel="stylesheet" href="./mushroom-details.css">
<link rel="stylesheet" href="../styles/style.css">

<title>Document</title>
<title>FungusAmongUs</title>
</head>
<header>Hark...a header</header>
<nav>
<a href="../home/index.html">Home</a>
<a href="../all-mushrooms/index.html">All Mushrooms</a>
<a href="../basket/index.html">User's Mushroom Basket</a>
<a href="../about-us/index.html">The Fun-Guys</a>
</nav>
<body>
<span>This is the mushroom details page</span>
<main>

</main>
</body>

<script type="module" src="./mushroomUtils.js"></script>
Expand Down

0 comments on commit e4bbf6e

Please sign in to comment.