Skip to content

new styling and nav bar #1321

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: master
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.DS_Store
.DS_Store
54 changes: 29 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ You are not allowed to collaborate during the Sprint Challenge. However, you are

In this challenge, you build a missing header (navigation and image) on the home page, update some CSS styling on the home page, and make your page responsive for mobile. You will be working with a pre-existing web page, allowing you to get a taste of what it is like to inherit code from someone else, as will regularly happen on the job.

In meeting the minimum viable product (MVP) specifications listed below, your web page should look like the solution screen shots of the home page and mobile version.
In meeting the minimum viable product (MVP) specifications listed below, your web page should look like the solution screen shots of the home page and mobile version.

[Click here for home page example](https://tk-assets.lambdaschool.com/39a49225-8ac9-43da-aa90-514fd60ae99a_sprint-challenge-ui-home-example.png)

[Click here for tablet example](design/Tablet.png)


Expand All @@ -36,26 +36,30 @@ Edit this document to include your answers after each question. Make sure to lea

1. If you were to describe semantic HTML to the next cohort of students, what would you say?

*Semantic html is one of two kinds of HTML Semantic and presentation. They often serve the same exact purpose, but Semantic is not only function, but it has meaning. For example, the div tag is presentational and section tag is semantic. The section tag implies that wthin the tag is a section of the page.*

2. What are the 4 areas of the box model?

3. While using flexbox, what axis does the following property work on: ```align-items: center```?
*content, padding, border, margin ***in order from the center out*

3. While using flexbox, what axis does the following property work on: ```align-items: center```?
*it centers vertically to fit along the x axis, unless flex-direction is set to column, then it is centered on the y axis*
4. Explain why git is valuable to a team of developers.
*Git is a version controll software. It allows a team to share and record thier work as it is being developed.*

5. Define mobile-first design in your own words.

You are expected to be able to answer all these questions. Your responses contribute to your Sprint Challenge grade. Skipping this section *will* prevent you from passing this challenge.
*You are expected to be able to answer all these questions. Your responses contribute to your Sprint Challenge grade. Skipping this section *will* prevent you from passing this challenge.*

## Instructions

### Task 1: Project Set Up

- [ ] Create a forked copy of this project
- [ ] Add your team lead as collaborator on Github
- [ ] 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
- [ ] Push commits: git push origin `<firstName-lastName>`
- [x] Create a forked copy of this project
- [x] Add your team lead as collaborator on Github
- [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
- [x] Push commits: git push origin `<firstName-lastName>`

### Task 2: Minimum Viable Product

Expand All @@ -65,23 +69,23 @@ Your finished project must include all of the following requirements:

[Review the provided design files](/design). Notice the navigation and header images are missing in the starter code.

* [ ] Build the HTML and CSS to create the missing navigation and header
* [x] Build the HTML and CSS to create the missing navigation and header
* [ ] Link the `About` navigation item to an about.html page (you'll also need to create `about.html`)
* [ ] Make your design responsive such that it is accessible on mobile(500px)and matches the [mobile](design/Mobile.png) wireframe.
* [ ] Add responsive breakpoints to your code by using media queries
* [x] Make your design responsive such that it is accessible on mobile(500px)and matches the [mobile](design/Mobile.png) wireframe.
* [x] Add responsive breakpoints to your code by using media queries

You will also notice there are 10 boxes on the home page that need background colors. Use this list below to correctly style each box:

* [ ] box1: `teal`
* [ ] box2: `gold`
* [ ] box3: `cadetblue`
* [ ] box4: `coral`
* [ ] box5: `crimson`
* [ ] box6: `forestgreen`
* [ ] box7: `darkorchid`
* [ ] box8: `hotpink`
* [ ] box9: `indigo`
* [ ] box10: `dodgerblue`
* [x] box1: `teal`
* [x] box2: `gold`
* [x] box3: `cadetblue`
* [x] box4: `coral`
* [x] box5: `crimson`
* [x] box6: `forestgreen`
* [x] box7: `darkorchid`
* [x] box8: `hotpink`
* [x] box9: `indigo`
* [x] box10: `dodgerblue`

In your solution, it is essential that you follow best practices and produce clean and professional results. Schedule time to review, refine, and assess your work and perform basic professional polishing including spell-checking and grammar-checking on your work. It is better to submit a challenge that meets MVP than one that attempts too much and does not.

Expand All @@ -90,7 +94,7 @@ In your solution, it is essential that you follow best practices and produce cle
After finishing your required elements, you can push your work further. These goals may or may not be things you have learned in this module but they build on the material you just studied. Time allowing, stretch your limits and see if you can deliver on the following optional goals:

* [ ] Make your design responsive such that it is accessible on tablet(800 px) and matches the [tablet](design/Tablet.png) wireframe.
* [ ] Build a page of your choosing from the navigation items. Come up with content and images that fit the theme.
* [ ] Build a page of your choosing from the navigation items. Come up with content and images that fit the theme.
* [ ] Introduce CSS animations to your site.
* [ ] Build a contact page and create a form with several inputs of your choosing

Expand Down
48 changes: 48 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!doctype html>

<html lang="en">
<head>
<meta charset="utf-8">

<title>Sprint Challenge - Home</title>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto|Rubik" rel="stylesheet">
<link rel="stylesheet" href="style/index.css">

</head>

<body>

<section class="head">
<div class="nav">
<div class="lambda-logo">
<img src="assets/lambda-black.png" alt="lambda-logo">
</div>
<ul class="nav-bar">
<li><a href="index.html">Home</a></li>
<li><a href='about.html'>About</a></li>
<li><a href="products">Products</a></li>
<li><a href="blog">Blog</a></li>
<li><a href="contact">Contact</a></li>
</ul>
</div>
<div class="top-decore">
<img src="assets/jumbo.jpg" alt="top-decore"/>
</div>
</section>
<div class="container">

<section class="top-content">
<div class="text-container">
<h2>About</h2>
<p>Josh is really silly and did not read the instructions. He thought that the project was to recreate the three wireframes perfectly.</p>
</div>
<div class="text-container">
<h2>BUT...</h2>
<p>nevertheless...</p>
<p>he is still proud</p>
</div>
</section>
</div>
</body>
</html>
56 changes: 37 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,32 @@
<meta charset="utf-8">

<title>Sprint Challenge - Home</title>

<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto|Rubik" rel="stylesheet">
<link rel="stylesheet" href="style/index.css">

</head>

<body>
<section class="head">
<div class="nav">
<div class="lambda-logo">
<img src="assets/lambda-black.png" alt="lambda-logo">
</div>
<ul class="nav-bar">
<li><a href="index.html">Home</a></li>
<li><a href='about.html'>About</a></li>
<li><a href="products">Products</a></li>
<li><a href="blog">Blog</a></li>
<li><a href="contact">Contact</a></li>
</ul>
</div>
<div class="top-decore">
<img src="assets/jumbo.jpg" alt="top-decore"/>
</div>
</section>
<div class="container">

<section class="top-content">
<div class="text-container">
<h2>The Future</h2>
Expand All @@ -24,24 +41,24 @@ <h2>The Past</h2>
<p>Proin sed quam sed tellus vestibulum ultrices quis in nunc. Phasellus id dui id tortor tincidunt efficitur. Proin faucibus imperdiet erat, non varius lacus. Maecenas non nisl id turpis egestas tincidunt. Nam condimentum venenatis magna eget finibus.</p>
</div>
</section>

<section class="middle-content">
<h2>Why Did It Have To Be Boxes...</h2>

<h2>Why did it have to be boxes...</h2>

<div class="boxes">
<div class="box">Box 1</div>
<div class="box">Box 2</div>
<div class="box">Box 3</div>
<div class="box">Box 4</div>
<div class="box">Box 5</div>
<div class="box">Box 6</div>
<div class="box">Box 7</div>
<div class="box">Box 8</div>
<div class="box">Box 9</div>
<div class="box">Box 10</div>
<div class="box" id="box1">Box 1</div>
<div class="box" id="box2">Box 2</div>
<div class="box" id="box3">Box 3</div>
<div class="box" id="box4">Box 4</div>
<div class="box" id="box5">Box 5</div>
<div class="box" id="box6">Box 6</div>
<div class="box" id="box7">Box 7</div>
<div class="box" id="box8">Box 8</div>
<div class="box" id="box9">Box 9</div>
<div class="box" id="box10">Box 10</div>
</div>

</section>

<section class="bottom-content">
Expand All @@ -60,7 +77,7 @@ <h2>Moon</h2>
</div>

</section>

<footer>
<nav>
<a href="#">Home</a>
Expand All @@ -70,6 +87,7 @@ <h2>Moon</h2>
<a href="#">Contact</a>
</nav>
</footer>
</div><!-- container -->
</div><!-- container -->
</body>
</html>

Loading