Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.
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 week-1/1-parent-child/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<p class="message__content">
Who is available to meet this week to work on our group project?
</p>
<span class="message__time">6:48pm</span>
<span class="message__time">7:15pm</span>
</div>
<div class="message">
<div class="message__author">Habiba</div>
Expand Down
2 changes: 1 addition & 1 deletion week-1/9-git-branch/styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Add your own CSS code below */
.link {
color: #4491db;
color: red;
font-weight: 700;
text-decoration: none;
}
11 changes: 11 additions & 0 deletions week-2/10-media-queries/columns.css
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
/* Add your own CSS code below */

@media screen and (min-width: 768px) {
.countries {
columns: 2;
}
}
@media screen and (max-width: 1200px) {
.countries {
columns: 3;
}
}
9 changes: 9 additions & 0 deletions week-2/11-flexbox/flexbox.css
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
/* Add your own CSS code below */
.countries--first {
display: flex;
flex-direction: row-reverse;
}

.countries--third {
display: flex;
flex-direction: column-reverse;
}
22 changes: 19 additions & 3 deletions week-2/12-justify-content/flexbox.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
.countries {
.countries--first {
display: flex;
justify-content: flex-end;
flex-direction: row;
}

.countries--second .country {
padding: 0.5em;
.countries--second {
display: flex;
justify-content: space-around;
padding: 0.2em;
}

/* Add your own CSS code below */

.countries--third {
display: flex;
flex-direction: column;
justify-content: flex-end;
}

.countries--fourth {
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
}
22 changes: 21 additions & 1 deletion week-2/13-align-items/flexbox.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
.countries {
.countries--first {
display: flex;
align-items: center;
justify-content: left;
}
/* Add your own CSS code below */

.countries--second {
display: flex;
flex-direction: row-reverse;
align-items: flex-end;
}

.countries--third {
display: flex;
flex-direction: column;
align-items: flex-end;
}

.countries--fourth {
display: flex;
flex-direction: column-reverse;
align-items: center;
}
34 changes: 33 additions & 1 deletion week-2/14-order/flexbox.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
.countries {
display: flex;
flex-direction: row;
justify-content: flex-start;
}

/* Add your own CSS code below */

.countries--first .country--brazil {
order: 4;
}

.countries--second .country--croatia {
order: 0;
}

.countries--second .country--brazil {
order: 1;
}
.countries--second .country--uganda {
order: 2;
}

.countries--third .country--brazil {
order: 4;
}

.countries--third .country--croatia {
order: 3;
}

.countries--third .country--ethiopia {
order: 2;
}

.countries--third .country--laos {
order: 1;
}
53 changes: 51 additions & 2 deletions week-2/15-align-self/flexbox.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
.countries {
/* Add your own CSS code below */
.countries--first {
display: flex;
}

/* Add your own CSS code below */
.countries--first .country--ethiopia {
display: flex;
align-self: flex-end;
}

.countries--second {
display: flex;
align-items: center;
}

.countries--second .country--ethiopia {
display: flex;
align-self: flex-end;
}

.countries--third {
display: flex;
align-items: center;
}

.countries--third .country--brazil {
align-self: flex-start;
}

.countries--third .country--uganda {
align-self: flex-start;
}

.countries--third .country--croatia {
align-self: flex-end;
}

.countries--third .country--ethiopia {
align-self: flex-end;
}

.countries--third .country--laos {
align-self: flex-end;
}

.countries--fourth {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.countries--fourth .country--uganda {
align-self: center;
}
59 changes: 57 additions & 2 deletions week-2/16-more-flexbox/flexbox.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,60 @@
.countries {
/* Add your own CSS code below */

.countries--first {
display: flex;
align-items: flex-end;
justify-content: flex-end;
}

/* Add your own CSS code below */
.countries--second {
display: flex;
flex-direction: row-reverse;
align-items: flex-end;
justify-content: center;
}

.countries--third {
display: flex;
align-items: flex-start;
}

.countries--third .country--brazil {
align-self: flex-end;
}

.countries--fourth {
display: flex;
flex-direction: column;
align-items: flex-end;
}

.countries--fourth .country--ethiopia {
align-self: center;
}

.countries--fourth .country--laos {
align-self: center;
}

.countries--fifth {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: space-between;
}

.countries--fifth .country--brazil {
order: 4;
}

.countries--fifth .country--croatia {
order: 3;
}

.countries--fifth .country--ethiopia {
order: 2;
}

.countries--fifth .country--uganda {
align-self: center;
}
26 changes: 26 additions & 0 deletions week-2/17-nav-menu/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
/* Write your media queries and flexbox CSS below */
@media screen and (min-width: 480px) {
.site-header__nav {
columns: 1;
display: flex;
flex-direction: row;
justify-content: center;
}
}

@media screen and (min-width: 700px) {
.site-header {
columns: 1;
display: flex;
flex-direction: row;
justify-content: space-between;
}
}

@media screen and (min-width: 992px) {
.site-header {
columns: 1;
display: flex;
flex-direction: row;
justify-content: space-between;
}
}