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
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@ The styles in your [design file](/design/desktop.jpg) include bright colors and

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

- [ ] Create a forked copy of this project.
- [ ] Clone your OWN version of the repository (Not Lambda's by mistake!).
- [ ] Create a new branch: git checkout -b `<firstName-lastName>`.
- [ ] Implement the project on your newly created `<firstName-lastName>` branch, committing changes regularly.
- [x] Create a forked copy of this project.
- [x] Clone your OWN version of the repository (Not Lambda's by mistake!).
- [x] Create a new branch: git checkout -b `<firstName-lastName>`.
- [x] Implement the project on your newly created `<firstName-lastName>` branch, committing changes regularly.
- [ ] Push commits: git push -u origin `<firstName-lastName>`.

### 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 impliment a CSS reset
- [x] Link your CSS stylesheet in the `index.html` and impliment 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`
- [ ] Learn About the Park: `#5ED3EB`
- [ ] Get Involved: `#FFCD69`
- [ ] Plan your Visit: `#FF764E`
- [ ] Learn About the Park: `#5ED3EB`
- [ ] Get Involved: `#FFCD69`
- [ ] Change all font colors and styles according to design file
- [ ] Yosemite Park Guide font is called Chelsea Market and can be found on [google fonts](https://fonts.google.com/specimen/Chelsea+Market)
- [ ] All other text is Roboto Mono, also available on [google fonts](https://fonts.google.com/specimen/Roboto+Mono)
- [ ] Color the background of the main text body with `#DDB9A3`
- [ ] Color the background of the footer with `#F9E7DC`
- [ ] Bold the words "current fire restrictions" and "park entrance fee" according to the design file
- [x] Bold the words "current fire restrictions" and "park entrance fee" according to the design file
- [ ] Apply box model properties (content, padding, margin, and border) to all content such that your webpage matches the design file. This will include at least:
- [ ] A round image in the header
- [ ] Round corners on navigation and footer items
Expand Down
106 changes: 106 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
html {
font-size: 62.5%;
}

body {
font-family: 'Roboto Mono', monospace;
font-size: 1.6rem;
max-width: 100%;
}

/* CSS reset */

/* tab blocks */
.tab {
display: inline-block;
text-align: center;
border-radius: 30px;
width: 30%;
box-sizing: border-box;
}

.plan {
background-color: #FF764E;
color: white;
}

.learn {
background-color: #5ED3EB;
color: white;
}

.get {
background-color: #FFCD69;
color: white;
}
/* tab blocks on top */

nav {
border: 1px red solid;
box-sizing: border-box;
}

/* header */

header {
display: inline-block;
border: 1px solid black;
}

header #circle {
width: 20%;
border-radius: 50%;
border: 1px red solid;
}

.header-title {
display: inline-block;
width: 20%;
border: 1px red solid;
}

/* header specifics */
header #yosemite-title {
font-family: 'Chelsea Market', cursive;
}

/* block of text */

.main-text {
background: #DDB9A3;
color: white;
margin: 0 auto;
}

#campfire {
width: 10%;
}

/* info-blocks with icons */
.info-block-fire {
border: 1px red solid;
text-align: center;
padding: 0 40%;
}

#trailer {
width: 10%;
}
.info-block-trailer {
border: 1px red solid;
text-align: center;
padding: 0 40%;
}

/* footer */

footer {
border: 1px red solid;
background-color: #F9E7DC;
max-width: 100%;
}

.bottom-picture {
width: 100%;
height: 60vh;
}
111 changes: 77 additions & 34 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,37 +1,80 @@
<!-- Markup the content below with tags and attributes such that it can be styled in CSS-->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->

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


"header_img.jpg"
Yosemite Park Guide
Come explore California’s beautiful wilderness.
Always open. Reservations are not available or required to enter the park.

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.

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.

"https://image.flaticon.com/icons/svg/2979/2979348.svg"
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.

"https://image.flaticon.com/icons/svg/820/820374.svg"
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

</body>
<head>
<link href="https://fonts.googleapis.com/css2?family=Chelsea+Market&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css" />
</head>
<body>
<nav>
<p class="tab plan">Plan your Visit</p>
<p class="tab learn">Learn about the Park</p>
<p class= "tab get">Get Involved</p>
</nav>

<header>
<img id="circle" src="assets/header_img.jpg" alt="Tunnel view at Yosemite Park" />
<div class="header-title">
<h1 id="yosemite-title">Yosemite Park Guide</h1>
<p>Come explore California’s beautiful wilderness.</p>
<p>
Always open. Reservations are not available or required to enter the
park.
</p>
</div>
</header>

<section class="main-text">
<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>
<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.
</p>
</section>

<section class="info-blocks">
<div class="info-block-fire">
<img
src="https://image.flaticon.com/icons/svg/2979/2979348.svg"
alt="cartoon of a camp fire"
id="campfire"
/>
<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
<strong>current fire restrictions.</strong>
</p>
</div>

<div class="info-block-trailer">
<img
id= "trailer"
src="https://image.flaticon.com/icons/svg/820/820374.svg"
alt="cartoon of a trailer"
/>
<p>
We strongly recommend that you make reservations for lodging, camping,
and backpacking. You can pay the
<strong>park entrance fee</strong> upon arrival (there's no need to
pay it in advance).
</p>
</div>
</section>

<footer>
<img class="bottom-picture" src="assets/footer_img.jpg"alt="landscape view of Yosemite from iconic Glacier Point"/>
<div class="bottom-links">
<p class="tab plan">Plan your Visit</p>
<p class="tab learn">Learn about the Park</p>
<p class="tab get">Get Involved</p>
</div>
</footer>
</body>
</html>