diff --git a/README.md b/README.md index dc5314a3a1..5e3298349f 100644 --- a/README.md +++ b/README.md @@ -35,14 +35,19 @@ Demonstrate your understanding of this week's concepts by answering the followin Edit this document to include your answers after each question. Make sure to leave a blank line above and below your answer so it is clear and easy to read by your project manager 1. If you were to describe semantic HTML to the next cohort of students, what would you say? + Semantic HTML adds meaning to your code. 2. What are the 4 areas of the box model? + Margin, Border, Padding, and Content. 3. While using flexbox, what axis does the following property work on: ```align-items: center```? + It aligns on the vertical axis. 4. Explain why git is valuable to a team of developers. + Git allows teams of developers to be able to see each version of your code and reference previous versions of the code. 5. Define mobile-first design in your own words. + When you make a prototype of a website you start with a wireframe of the smallest screen. 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. diff --git a/about.html b/about.html new file mode 100644 index 0000000000..b6ad17e729 --- /dev/null +++ b/about.html @@ -0,0 +1,27 @@ + + + + + + + + Sprint Challenge - Home + + + +
+ About +
+ + +
+
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis + aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, + consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit + in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, + sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit + esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+ \ No newline at end of file diff --git a/index.html b/index.html index d32d8ad25c..47190e8df0 100644 --- a/index.html +++ b/index.html @@ -1,75 +1,91 @@ - - - Sprint Challenge - Home + + + - - + Sprint Challenge - Home + + -
- -
-
+ + +
+ +
+ + +

The Future

-

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.

+

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.

-
+

The Past

-

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.

+

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.

- -
- + +
+

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
- +
-
+
-
+

That's

Phasellus id dui id tortor tincidunt efficitur. Proin sed quam sed tellus vestibulum ultrices quis in nunc.

-
+

No

Phasellus id dui id tortor tincidunt efficitur. Proin sed quam sed tellus vestibulum ultrices quis in nunc.

-
+

Moon

Phasellus id dui id tortor tincidunt efficitur. Proin sed quam sed tellus vestibulum ultrices quis in nunc.

- + -
+
+ - + + \ No newline at end of file diff --git a/style/index.css b/style/index.css index ae29d6ceee..993f634d75 100644 --- a/style/index.css +++ b/style/index.css @@ -3,60 +3,154 @@ 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; +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; + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; } + body { - line-height: 1; + line-height: 1; } -ol, ul { - list-style: none; + +ol, +ul { + list-style: none; } -blockquote, q { - quotes: none; + +blockquote, +q { + quotes: none; } -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; + +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ''; + content: none; } + table { - border-collapse: collapse; - border-spacing: 0; + border-collapse: collapse; + border-spacing: 0; } * { box-sizing: border-box; } -html, body { +html, +body { height: 100%; font-family: 'Roboto', sans-serif; } -h1, h2, h3, h4, h5 { +h1, +h2, +h3, +h4, +h5 { font-size: 18px; margin-bottom: 15px; font-family: 'Rubik', sans-serif; @@ -74,15 +168,28 @@ p { .top-content { display: flex; flex-wrap: wrap; - justify-content: space-evenly; + justify-content: space-between; + margin: 0; margin-bottom: 20px; border-bottom: 1px dashed black; + padding: 0; + width: 800px; +} + +.top-content nav { + text-decoration: none; + width: 800px; + margin: 0; + padding: 0; + display: flex; + justify-content: space-between; + text-align: center; } .top-content .text-container { width: 48%; padding: 0 1%; - padding-bottom: 20px; + padding-bottom: 20px; } .middle-content { @@ -134,13 +241,218 @@ footer { footer nav { width: 60%; display: flex; + justify-content: space-evenly; +} + +footer nav a { + color: white; justify-content: space-between; align-items: center; padding: 20px 2%; font-size: 14px; + text-decoration: none; } -footer nav a { - color: white; + +/* my code */ + +html { + font-size: 62.5%; +} + +.Image1 { + height: auto; +} + +.top-content { + color: black; + display: flex; +} + +.Nav-Top a { + color: gray; text-decoration: none; +} + +.Nav-Top { + display: flex; + justify-content: space-evenly; + font-size: medium; +} + +.Image2 { + height: auto; +} + +.middle-content .boxes .box1 { + width: 12.5%; + height: 100px; + 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; + align-items: center; + 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 +} + +footer { + background-color: black; + color: white; +} + +@media(max-width: 500px) { + .top-content nav { + text-decoration: none; + width: 800px; + margin: 0; + padding: 0; + display: flex; + justify-content: space-between; + text-align: center; + flex-direction: column; + } + .text-container { + display: flex; + flex-direction: column; + text-align: center; + } + .text-container1 { + display: flex; + flex-direction: column; + text-align: center; + } + .middle-content { + display: flex; + flex-direction: column; + text-align: center; + } + .middle-content .boxes { + display: flex; + flex-direction: column; + align-content: center; + } + .bottom-content { + display: flex; + flex-direction: column; + text-align: center; + } + .text-container2 { + display: flex; + flex-direction: column; + text-align: center; + } + .text-container3 { + display: flex; + flex-direction: column; + text-align: center; + } + .text-container4 { + display: flex; + flex-direction: column; + text-align: center; + } + .Nav-Bottom { + display: flex; + flex-direction: column; + text-align: center; + } } \ No newline at end of file