diff --git a/package.json b/package.json
index c9808dbe..c808e6fd 100644
--- a/package.json
+++ b/package.json
@@ -5,35 +5,35 @@
"author": "Codi",
"license": "ISC",
"scripts": {
- "1": "live-server --open=week-1/1-parent-child",
- "2": "live-server --open=week-1/2-html-attributes",
- "3": "live-server --open=week-1/3-semantic-html",
- "4": "live-server --open=week-1/4-links-scripts",
- "5": "live-server --open=week-1/5-css-selectors",
- "6": "live-server --open=week-1/6-css-properties",
- "7": "live-server --open=week-1/7-css-box",
- "8": "live-server --open=week-1/8-advanced-selectors",
- "9": "live-server --open=week-1/9-git-branch",
- "10": "live-server --open=week-2/10-media-queries",
- "11": "live-server --open=week-2/11-flexbox",
- "12": "live-server --open=week-2/12-justify-content",
- "13": "live-server --open=week-2/13-align-items",
- "14": "live-server --open=week-2/14-order",
- "15": "live-server --open=week-2/15-align-self",
- "16": "live-server --open=week-2/16-more-flexbox",
- "17": "live-server --open=week-2/17-nav-menu",
- "18": "live-server --open=week-2/18-git-merge",
- "19": "live-server --open=week-3/19-search",
- "20": "live-server --open=week-3/20-labels",
- "21": "live-server --open=week-3/21-buttons",
- "22": "live-server --open=week-3/22-checkout",
- "23": "live-server --open=week-3/23-comments",
- "24": "live-server --open=week-3/24-dietary",
- "25": "live-server --open=week-3/25-shirt-size",
- "26": "live-server --open=week-3/26-checkout-groups",
- "27": "live-server --open=week-3/27-attributes",
- "28": "live-server --open=week-3/28-git-conflict",
- "29": "live-server --open=week-3/29-combined-skills",
+ "1": "live-server --open=part-1/1-parent-child",
+ "2": "live-server --open=part-1/2-html-attributes",
+ "3": "live-server --open=part-1/3-semantic-html",
+ "4": "live-server --open=part-1/4-links-scripts",
+ "5": "live-server --open=part-1/5-css-selectors",
+ "6": "live-server --open=part-1/6-css-properties",
+ "7": "live-server --open=part-1/7-css-box",
+ "8": "live-server --open=part-1/8-advanced-selectors",
+ "9": "live-server --open=part-1/9-git-branch",
+ "10": "live-server --open=part-2/10-media-queries",
+ "11": "live-server --open=part-2/11-flexbox",
+ "12": "live-server --open=part-2/12-justify-content",
+ "13": "live-server --open=part-2/13-align-items",
+ "14": "live-server --open=part-2/14-order",
+ "15": "live-server --open=part-2/15-align-self",
+ "16": "live-server --open=part-2/16-more-flexbox",
+ "17": "live-server --open=part-2/17-nav-menu",
+ "18": "live-server --open=part-2/18-git-merge",
+ "19": "live-server --open=part-3/19-search",
+ "20": "live-server --open=part-3/20-labels",
+ "21": "live-server --open=part-3/21-buttons",
+ "22": "live-server --open=part-3/22-checkout",
+ "23": "live-server --open=part-3/23-comments",
+ "24": "live-server --open=part-3/24-dietary",
+ "25": "live-server --open=part-3/25-shirt-size",
+ "26": "live-server --open=part-3/26-checkout-groups",
+ "27": "live-server --open=part-3/27-attributes",
+ "28": "live-server --open=part-3/28-git-conflict",
+ "29": "live-server --open=part-3/29-combined-skills",
"precommit": "pretty-quick --staged --verbose",
"serve": "live-server"
},
diff --git a/part-1/1-parent-child/index.html b/part-1/1-parent-child/index.html
index 458a4cb2..3c8abf1b 100644
--- a/part-1/1-parent-child/index.html
+++ b/part-1/1-parent-child/index.html
@@ -27,6 +27,7 @@
I can meet on Tuesday and Wednesday after 4.
+ 7:15pm
diff --git a/part-1/2-html-attributes/index.html b/part-1/2-html-attributes/index.html
index dc861fa4..70151b7a 100644
--- a/part-1/2-html-attributes/index.html
+++ b/part-1/2-html-attributes/index.html
@@ -23,14 +23,15 @@
Luke
- Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
+ Let's meet at the iCafe in Merchant City.
7:35pm
Won
- Ok! https://media.giphy.com/media/l41K4KlVE8dgozf8I/giphy.gif
+ Ok!
+
7:38pm
diff --git a/part-1/3-semantic-html/index.html b/part-1/3-semantic-html/index.html
index 3640deaf..728b366b 100644
--- a/part-1/3-semantic-html/index.html
+++ b/part-1/3-semantic-html/index.html
@@ -12,30 +12,30 @@
-
-
-
+
+
+
Won
Where should we meet later?
- Mar 25, 2018 7:25pm
-
-
+
+
+
Luke
Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
- Mar 25, 2018 7:35pm
-
-
+
+
+
Won
Ok! https://media.giphy.com/media/l41K4KlVE8dgozf8I/giphy.gif
- Mar 25, 2018 7:38pm
-
-
+
+
+
diff --git a/part-1/4-links-scripts/index.html b/part-1/4-links-scripts/index.html
index 303c7fbd..21920156 100644
--- a/part-1/4-links-scripts/index.html
+++ b/part-1/4-links-scripts/index.html
@@ -1,6 +1,7 @@
+
4. Adding Links and Scripts - HTML, CSS and Git Exercises
@@ -33,5 +34,6 @@
+
diff --git a/part-1/5-css-selectors/message-backgrounds.css b/part-1/5-css-selectors/message-backgrounds.css
index ffe48332..a8f3a711 100644
--- a/part-1/5-css-selectors/message-backgrounds.css
+++ b/part-1/5-css-selectors/message-backgrounds.css
@@ -1 +1,10 @@
/* Add your CSS code below */
+#first-message {
+ background-color: red;
+}
+article {
+ background-color: cadetblue;
+}
+.message--latest {
+ background-color: yellow;
+}
diff --git a/part-1/6-css-properties/styles.css b/part-1/6-css-properties/styles.css
index ffe48332..8dfaeb4a 100644
--- a/part-1/6-css-properties/styles.css
+++ b/part-1/6-css-properties/styles.css
@@ -1 +1,20 @@
/* Add your CSS code below */
+a {
+ font-weight: 900;
+ color: red;
+ text-decoration: underline;
+}
+.message__time {
+ font-size: 0.9rem;
+}
+div:nth-child(3) {
+ border-width: thick;
+ border-left: solid;
+ border-color: blue;
+}
+div:nth-child(1) > p {
+ color: rgba(173, 173, 173, 0.582);
+}
+.message {
+ margin: 5%;
+}
diff --git a/part-1/7-css-box/styles.css b/part-1/7-css-box/styles.css
index 013b94f1..c48a1eca 100644
--- a/part-1/7-css-box/styles.css
+++ b/part-1/7-css-box/styles.css
@@ -1,6 +1,8 @@
/* Try different box model properties below */
.pages__page {
- border: 1px solid #4491db;
+ border: 1px solid red;
border-radius: 4px;
background: #fff;
+ margin: 1%;
+ padding: 1%;
}
diff --git a/part-1/8-advanced-selectors/styles.css b/part-1/8-advanced-selectors/styles.css
index d35c3c37..90ec1c09 100644
--- a/part-1/8-advanced-selectors/styles.css
+++ b/part-1/8-advanced-selectors/styles.css
@@ -1 +1,14 @@
/* Try different box model properties below */
+.site-header > p {
+ color: white;
+}
+.site-header__title {
+ margin-bottom: -3%;
+}
+.site-footer > p {
+ font-size: 12px;
+ text-align: center;
+}
+.message--unread:last-child > p:nth-child(2) {
+ box-shadow: 4px 4px 0 #dba944;
+}
diff --git a/part-2/10-media-queries/columns.css b/part-2/10-media-queries/columns.css
index 43e80d23..3e862582 100644
--- a/part-2/10-media-queries/columns.css
+++ b/part-2/10-media-queries/columns.css
@@ -1 +1,11 @@
/* Add your own CSS code below */
+@media screen and (min-width: 768px) {
+ .countries {
+ columns: 2;
+ }
+}
+@media screen and (min-width: 1200px) {
+ .countries {
+ columns: 3;
+ }
+}
diff --git a/part-2/11-flexbox/flexbox.css b/part-2/11-flexbox/flexbox.css
index 43e80d23..036be7ec 100644
--- a/part-2/11-flexbox/flexbox.css
+++ b/part-2/11-flexbox/flexbox.css
@@ -1 +1,14 @@
/* Add your own CSS code below */
+.countries {
+ display: flex;
+}
+
+.countries--first {
+ flex-direction: row;
+}
+.countries--second {
+ flex-direction: column;
+}
+.countries--third {
+ flex-direction: column-reverse;
+}
diff --git a/part-2/12-justify-content/flexbox.css b/part-2/12-justify-content/flexbox.css
index 3c4c7ff1..fc83106b 100644
--- a/part-2/12-justify-content/flexbox.css
+++ b/part-2/12-justify-content/flexbox.css
@@ -7,3 +7,19 @@
}
/* Add your own CSS code below */
+.countries--first {
+ justify-content: flex-end;
+}
+.countries--second {
+ justify-content: flex-start;
+ justify-content: space-evenly;
+}
+.countries--third {
+ flex-direction: column;
+ justify-content: flex-end;
+}
+.countries--fourth {
+ flex-direction: column-reverse;
+ justify-content: center;
+ justify-content: space-evenly;
+}
diff --git a/part-2/13-align-items/flexbox.css b/part-2/13-align-items/flexbox.css
index 3675a0df..856568d1 100644
--- a/part-2/13-align-items/flexbox.css
+++ b/part-2/13-align-items/flexbox.css
@@ -2,3 +2,21 @@
display: flex;
}
/* Add your own CSS code below */
+.countries--first {
+ align-items: center;
+}
+
+.countries--second {
+ align-items: flex-end;
+ flex-direction: row-reverse;
+}
+.countries--third {
+ justify-content: flex-start;
+ align-items: flex-end;
+ flex-direction: column;
+}
+.countries--fourth {
+ justify-content: flex-start;
+ align-items: center;
+ flex-direction: column-reverse;
+}
diff --git a/part-2/14-order/flexbox.css b/part-2/14-order/flexbox.css
index ed621b79..5ddd7443 100644
--- a/part-2/14-order/flexbox.css
+++ b/part-2/14-order/flexbox.css
@@ -3,3 +3,25 @@
}
/* Add your own CSS code below */
+.countries--first .country--brazil {
+ order: 5;
+}
+.countries--second .country--uganda {
+ order: 5;
+}
+.countries--second .country--brazil {
+ order: 4;
+}
+
+.countries--third .country--brazil {
+ order: 5;
+}
+.countries--third .country--croatia {
+ order: 4;
+}
+.countries--third .country--ethiopia {
+ order: 3;
+}
+.countries--third .country--laos {
+ order: 2;
+}
diff --git a/part-2/15-align-self/flexbox.css b/part-2/15-align-self/flexbox.css
index ed621b79..eacfe06b 100644
--- a/part-2/15-align-self/flexbox.css
+++ b/part-2/15-align-self/flexbox.css
@@ -3,3 +3,28 @@
}
/* Add your own CSS code below */
+.countries--first .country--ethiopia {
+ align-self: flex-end;
+}
+.countries--second {
+ align-items: center;
+}
+.countries--second .country--ethiopia {
+ align-self: flex-end;
+}
+.countries--third {
+ align-items: flex-end;
+}
+.countries--third .country--brazil {
+ align-self: flex-start;
+}
+.countries--third .country--uganda {
+ align-self: flex-start;
+}
+.countries--fourth {
+ align-items: flex-start;
+ flex-direction: column;
+}
+.countries--fourth .country--uganda {
+ align-self: center;
+}
diff --git a/part-2/16-more-flexbox/flexbox.css b/part-2/16-more-flexbox/flexbox.css
index ed621b79..76ced030 100644
--- a/part-2/16-more-flexbox/flexbox.css
+++ b/part-2/16-more-flexbox/flexbox.css
@@ -3,3 +3,53 @@
}
/* Add your own CSS code below */
+.countries--first {
+ align-items: flex-end;
+ justify-content: flex-end;
+}
+.countries--second {
+ align-items: flex-end;
+ justify-content: flex-end;
+ flex-direction: row-reverse;
+}
+.countries--third {
+ align-items: flex-start;
+}
+.countries--third .country--brazil {
+ align-self: flex-end;
+}
+.countries--fourth {
+ align-items: flex-end;
+ flex-direction: column;
+}
+.countries--fourth .country--ethiopia {
+ align-self: center;
+}
+.countries--fourth .country--laos {
+ align-self: center;
+}
+.countries--fifth {
+ align-items: flex-end;
+ justify-content: flex-end;
+ flex-direction: column-reverse;
+ justify-content: space-between;
+}
+.country:nth-of-type(1) {
+ order: 1;
+}
+.country:nth-of-type(2) {
+ order: 2;
+}
+.country:nth-of-type(3) {
+ order: 3;
+}
+.country:nth-of-type(4) {
+ order: 5;
+}
+.country:nth-of-type(5) {
+ order: 4;
+}
+
+.countries .country--uganda {
+ align-self: center;
+}
diff --git a/part-2/17-nav-menu/styles.css b/part-2/17-nav-menu/styles.css
index f04f4c7b..802f1973 100644
--- a/part-2/17-nav-menu/styles.css
+++ b/part-2/17-nav-menu/styles.css
@@ -1 +1,24 @@
/* Write your media queries and flexbox CSS below */
+@media (min-width: 480px) {
+ .site-header__nav {
+ display: flex;
+ }
+}
+@media (min-width: 700px) {
+ .site-header {
+ display: flex;
+ }
+}
+@media (min-width: 992px) {
+ .site-header__checkout {
+ margin-left: auto;
+ align-self: center;
+ }
+ .site-header__logo {
+ margin-right: auto;
+ }
+ .site-header {
+ display: flex;
+ justify-content: center;
+ }
+}
diff --git a/part-2/18-git-merge/styles.css b/part-2/18-git-merge/styles.css
index 0051cdba..af46a4f7 100644
--- a/part-2/18-git-merge/styles.css
+++ b/part-2/18-git-merge/styles.css
@@ -1,6 +1,6 @@
/* Add your own CSS code below */
.link {
- color: #4491db;
+ color: orangered;
font-weight: 700;
text-decoration: none;
}