Skip to content

Sync data #677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ The styles in your [design file](/design/desktop.jpg) include bright colors and

Follow these steps to set up and work on your project:

- [ ] Fork the repository, then clone from your fork.
- [ ] Go into Canvas and connect your repository by copy-pasting its Github URL into the submission slot.
- [ ] DO NOT CREATE A BRANCH. You will be pushing your changes to the main/master today.
- [ ] cd into your repository on the command line and use code . to open VS Code.
- [ ] Download the Live Server extension from the Extensions tab on the left side of your VS Code. After it is done installing, click "Go Live" on the bottom right side of your screen to run your HTML file.
- [ ] Complete your work making regular commits to the main branch; your submitted URL will always reflect your most recent work.
- [*] Fork the repository, then clone from your fork.
- [*] Go into Canvas and connect your repository by copy-pasting its Github URL into the submission slot.
- [*] DO NOT CREATE A BRANCH. You will be pushing your changes to the main/master today.
- [*] cd into your repository on the command line and use code . to open VS Code.
- [*] Download the Live Server extension from the Extensions tab on the left side of your VS Code. After it is done installing, click "Go Live" on the bottom right side of your screen to run your HTML file.
- [*] Complete your work making regular commits to the main branch; your submitted URL will always reflect your most recent work.

### Task 2: Minimum Viable Product

Once your repository is set up, practice what you learned today to style the site according to the given design. Your complete project should look similar to the desktop image. You should take the following actions, at a minimum:

- [ ] Link your CSS stylesheet in the `index.html` and implement a CSS reset
- [*] Link your CSS stylesheet in the `index.html` and implement a CSS reset
- [ ] Markup html semantically, such that it can be styled according to the given desktop image
- [ ] Color the background of items in the navigation bar and footer with the following colors:
- [ ] Plan your Visit: `#FF764E`
Expand Down Expand Up @@ -60,7 +60,7 @@ Once your repository is set up, practice what you learned today to style the sit

The following goals are designed to stretch your knowledge and may require additional research beyond what was learned in class today.

- [ ] Add CSS animations (hover, mouseover, etc.)
- [*] Add CSS animations (hover, mouseover, etc.)
- [ ] Design and execute your own pages for `Plan your Visit`, `Learn About the Park`, or `Get Involved`
- [ ] Use [favicon.io](https://favicon.io/favicon-converter/) to convert the campfire and RV images to real favicons and use them in your project
- [ ] Host your website on Netlify.com
Expand Down
164 changes: 164 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

* {
box-sizing: border-box;
padding: 0;
margin: 0;
max-width: 100%;
/* put a border around everything to see where it stops and starts */
}

body {
font-family: 'Roboto Mono', monospace;
background-color: #DDB9A3;
background: radial-gradient(#f69d3c, #3f87a6);
}

header {
background-color: #DDB9A3;
padding: 20px;
/* display: flex; */
align-items: inline;
flex-wrap: wrap;
}

header img {
flex-wrap: wrap;
width: 90%;
height: 50%;
padding: 20px;
margin: 4% 0;
}

h1 {
margin-bottom: 0;
padding: 0 10px;
font-size: 40px;

}

.links a {
height: 30%;
width: 30%;
padding: 1%;
/* border: 1px solid black; */
margin: 1%;
display: inline-block;
/* align-items: center; */

margin: 10px;
color: black;
text-decoration: underline;
text-align: center;
border: 4mm ridge rgba(255, 119, 28, 0.6);
/* width: 100%;
display: flex;
justify-content: space-evenly;
align-items: center;
margin-inline: auto;
border: solid darkgreen; */
}

nav {
list-style-type: none;
display: flex;
}

nav {
margin-right: 10px;
}

h2 {
margin-bottom: 0;
padding: 0 10px;
/*======= Update the font size to 30px */
font-size: 20px;
border: 4mm ridge rgba(255, 119, 28, 0.6);
}

img {
border-radius: 10px;
width: 150px;
height: 10;
}

#plan-visit {
background-color: #FF764E;
}

#learn-park {
background-color: #5ED3EB;
}

#get-involved {
background-color: #FFCD69;
}

footer nav a {
margin: 10px;
color: black;
text-decoration: underline;
text-align: center;
border: 4mm ridge rgba(255, 119, 28, 0.6);
}

a:hover {
color: black;
background: rgb(3, 151, 236);
}

footer img {
flex-wrap: wrap;
width: 90%;
height: 50%;
padding: 20px;
margin: 4% 0;
}

85 changes: 64 additions & 21 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,78 @@
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->
<link href="./index.css" rel="stylesheet">

</head>
<body>
Plan your Visit
Learn about the Park
Get Involved


"header_img.jpg"
Yosemite Park Guide
<header>
<div>
<img src="./assets/header_img.jpg" alt="Header Image">

<h1>Yosemite Park Guide</h1>

<div class="links">
<a href="#plan your visit">Plan Your Visit</a><br>
<a href="#learn about the Park">Learn About the Park</a>
<a href="#get involved">Get Involved</a>
</div>
</div>
</header>

<main>
<section class="main-section">
<div>
<h2>
<p>
Come explore California’s beautiful wilderness.
Always open. Reservations are not available or required to enter the park.

</p>
</h2>
</div>

<div>
<h2>
<p>
Not just a great valley, but a shrine to human foresight, the strength of granite, the power of glaciers, the persistence of life, and the tranquility of the High Sierra.

</p>
</h2>
</div>

<div>
<h2>
<p>
First protected in 1864, Yosemite National Park is best known for its waterfalls, but within its nearly 1,200 square miles, you can find deep valleys, grand meadows, ancient giant sequoias, a vast wilderness area, and much more.

"campfire.png"
</p>
</h2>
</div>
</section>

<section class="main-section2">
<img src="./assets/campfire.png" alt="Campfire Image">
<h2>
<p>
Fire is a natural and essential part of Yosemite. We manage fire carefully and study how it interacts with the park’s ecosystems. This blog provides updates about fires in Yosemite. Check for current fire restrictions.

"camper.png"
</p>
</h2>
</section>

<section class="main-section3">
<img src="./assets/camper.png" alt="Camper Image">
<h2>
<p>
We strongly recommend that you make reservations for lodging, camping, and backpacking. You can pay the park entrance fee upon arrival (there's no need to pay it in advance).

"footer_img.png"


Plan your Visit
Learn about the Park
Get Involved

</p>
</h2>
</section>
</main>

<footer>
<img src="./assets/footer_img.jpg" alt="Footer Image">
<nav>
<a href="#plan your visit">Plan Your Visit</a>
<a href="#learn about the Park">Learn About the Park</a><br>
<a href="#get involved">Get Involved</a>
</nav>
</footer>
</body>
</html>