diff --git a/README.md b/README.md index 853c24450e..097aa18d0b 100644 --- a/README.md +++ b/README.md @@ -36,26 +36,39 @@ 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? +It is the way we structure our website using meaningful tags that help other programmers and internet readers to understand +what we are trying to accomplish with our layout + 2. What are the 4 areas of the box model? +Content, padding, border, margin + 3. While using flexbox, what axis does the following property work on: ```align-items: center```? +Cross Axis + 4. Explain why git is valuable to a team of developers. +It allows for mulitple people to be working on the same code at the same time and +easily merge their work into one master document + 5. Define mobile-first design in your own words. +Mobile first design is making your webpage so that it is first and foremost mobile user friendly, +as opposed to building it desktop friendly first. + 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 ``. -- [ ] Implement the project on your newly created `` branch, committing changes regularly -- [ ] Push commits: git push origin `` +- [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 ``. +- [x] Implement the project on your newly created `` branch, committing changes regularly +- [x] Push commits: git push origin `` ### Task 2: Minimum Viable Product @@ -65,23 +78,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 -* [ ] Link the `About` navigation item to an about.html page (you'll also need to create `about.html`) +* [x] Build the HTML and CSS to create the missing navigation and header +* [x] 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 tablet(800 px) and matches the [mobile](design/mobile.png) wireframe * 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. diff --git a/about.html b/about.html new file mode 100644 index 0000000000..0fe78a0207 --- /dev/null +++ b/about.html @@ -0,0 +1,12 @@ + + + + + + About Page + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index d32d8ad25c..f2598720e4 100644 --- a/index.html +++ b/index.html @@ -3,17 +3,29 @@ - + Sprint Challenge - Home - +
- +
+
+ + Home + About + Products + Blog + Contact +
+
+ +
+

The Future

@@ -30,16 +42,16 @@

The Past

Why Did It Have To Be Boxes...

-
Box 1
-
Box 2
-
Box 3
-
Box 4
-
Box 5
-
Box 6
-
Box 7
-
Box 8
-
Box 9
-
Box 10
+
Box 1
+
Box 2
+
Box 3
+
Box 4
+
Box 5
+
Box 6
+
Box 7
+
Box 8
+
Box 9
+
Box 10
diff --git a/style/index.css b/style/index.css index ae29d6ceee..a8ebc52dc4 100644 --- a/style/index.css +++ b/style/index.css @@ -28,6 +28,7 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } + body { line-height: 1; } @@ -69,6 +70,23 @@ p { .container { width: 800px; margin: 0 auto; + align-items: center; + justify-content: space-evenly; + +} + +.header{ + display:flex; + align-items: center; + justify-content: space-between; + margin:5%; +} + +.imgContainer{ + margin: 3%; + display:flex; + align-items: center; + justify-content: space-between; } .top-content { @@ -101,10 +119,99 @@ p { justify-content: space-evenly; } -.middle-content .boxes .box { +.middle-content .boxes .box1 { width: 12.5%; height: 100px; - background: black; + background:teal; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} + +.middle-content .boxes .box2 { + width: 12.5%; + height: 100px; + background: gold; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} + +.middle-content .boxes .box3 { + width: 12.5%; + height: 100px; + background: cadetblue; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} + +.middle-content .boxes .box4 { + width: 12.5%; + height: 100px; + background: coral; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} + +.middle-content .boxes .box5 { + width: 12.5%; + height: 100px; + background: crimson; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} + + +.middle-content .boxes .box6 { + width: 12.5%; + height: 100px; + background: forestgreen; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} + +.middle-content .boxes .box7 { + width: 12.5%; + height: 100px; + background: darkorchid; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} + +.middle-content .boxes .box8 { + width: 12.5%; + height: 100px; + background: hotpink; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} + +.middle-content .boxes .box9 { + width: 12.5%; + height: 100px; + background: indigo; margin: 20px 2.5%; color: white; display: flex; @@ -112,6 +219,16 @@ p { justify-content: center; } +.middle-content .boxes .box10 { + width: 12.5%; + height: 100px; + background: dodgerblue; + margin: 20px 2.5%; + color: white; + display: flex; + align-items: center; + justify-content: center; +} .bottom-content { display: flex; margin: 0 2% 20px; @@ -143,4 +260,77 @@ footer nav { footer nav a { color: white; text-decoration: none; +} + + +@media (max-width: 500px){ + + .container, .header, .top-content, .boxes, .bottom-content, .text-container, .middle-content{ + flex-wrap: wrap; + flex-direction: column; + + } + + nav{ + flex-wrap: wrap; + flex-direction: column; + align-items: center; + text-align: center; + padding:2%; + } + .imgContainer{ + width: 10%; + height: auto; + } + + .middle-content, .boxes, .header, .top-content, .bottom-content, .container, .text-container{ + align-items: center; + + } + + .middle-content, .header, .top-content, .bottom-content, .text-container{ + max-width: 80%; + } + .middle-content h2{ + justify-content: center; + text-align: center; + } + .text-container{ + padding:2%; + } + + p{ + flex-wrap: wrap; + } + +} + +@media (max-width: 800px){ + .top-content, .text-container{ + flex-flow: column wrap; + } + + .box1, .box2, .box3, .box4,.box5, .box6, .box7, .box8, .box9, .box10 { + max-width: 30%;; + flex: 60%; + flex-wrap: wrap; + } + .boxes{ + display:flex; + } + + .bottom-content{ + flex-wrap: wrap; + display:flex; + max-width: 50%;; + + + } + + .header{ + justify-content: space-evenly; + max-width: 80%; + } + + } \ No newline at end of file