Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

completed weeks 1,2,3 #63

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
46db92e
completed 1-parent-child exercise
saeed6617 Feb 2, 2019
7bba9c3
my first commit
saeed6617 Feb 13, 2019
732be08
completed exercise week 2/11
saeed6617 Feb 13, 2019
3fec386
completed exercise week 2/12
saeed6617 Feb 13, 2019
a10dad5
completed exercise week2/13
saeed6617 Feb 13, 2019
8e82966
completed exercise week2/14
saeed6617 Feb 14, 2019
ae9949b
completed exercise week2/15
saeed6617 Feb 14, 2019
1c0211d
completed exercise week2/16
saeed6617 Feb 15, 2019
69ff50d
completed exercise week3/19
saeed6617 Feb 16, 2019
2d38f64
completed exercise week 3/22
saeed6617 Feb 16, 2019
7701870
completed exercise week3/23
saeed6617 Feb 16, 2019
3a5b0da
completed exercise week 3/24
saeed6617 Feb 16, 2019
5301fee
fixed the color
saeed6617 Feb 16, 2019
e1f73d1
fixed color second
saeed6617 Feb 16, 2019
40ba088
Merge purple_links branch
saeed6617 Feb 16, 2019
c35c658
Completed 2-html-attributes exercise
saeed6617 Feb 20, 2019
6a8ae9f
completed exercise week 1/3
saeed6617 Feb 20, 2019
dae2a89
completed exercise week 1/4,5
saeed6617 Feb 20, 2019
8c06e03
completed exercise week 1/7
saeed6617 Feb 20, 2019
49c5030
completed exercise week 1/7
saeed6617 Feb 20, 2019
fa2619f
completed exercise week 1/8
saeed6617 Feb 20, 2019
b4eeeb5
exercise week2/18 merging
saeed6617 Feb 20, 2019
69d27b6
completed exercise week3/20
saeed6617 Feb 21, 2019
88807fd
completed exercise week3/21
saeed6617 Feb 21, 2019
a32ce98
completed exercise week 3/26
saeed6617 Feb 21, 2019
c0c9103
completed exercise week3/25
saeed6617 Feb 21, 2019
a4658d4
completed exercise week3/27
saeed6617 Feb 21, 2019
96642d7
modified completed exercise week1.4
saeed6617 Feb 22, 2019
5b22ca9
completed exercises week 3/29
saeed6617 Feb 22, 2019
d1e4101
Merge pull request #1 from saeed6617/orange_links
saeed6617 Feb 28, 2019
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
1 change: 1 addition & 0 deletions group-project-revisions-faq
Submodule group-project-revisions-faq added at dd14ce
1 change: 1 addition & 0 deletions week-1/1-parent-child/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<p class="message__content">
I can meet on Tuesday and Wednesday after 4.
</p>
<span class="message__time">7:15pm</span>
</div>
</div>
</div>
Expand Down
5 changes: 2 additions & 3 deletions week-1/2-html-attributes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@
<div class="message">
<div class="message__author">Luke</div>
<p class="message__content">
Let's meet at the iCafe in Merchant City.
https://goo.gl/maps/aza4h9nUBhn
Let's meet at the<a href="ttps://goo.gl/maps/aza4h9nUBhnh"> iCafe</a> in Merchant City.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the "h" in "https". It's a good idea to test your changes before committing (e.g. by clicking on the link here).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also links look best if they don't include trailing space, so keep the space outside the <a> tag.

Let's meet at the <a href="https://goo.gl/maps/aza4h9nUBhn">iCafe</a> in the Merchant City</a>.

</p>
<span class="message__time">7:35pm</span>
</div>
<div class="message">
<div class="message__author">Won</div>
<p class="message__content">
Ok! https://media.giphy.com/media/l41K4KlVE8dgozf8I/giphy.gif
Ok!<img src="https://media.giphy.com/media/l41K4KlVE8dgozf8I/giphy.gif" width="270" />
</p>
<span class="message__time">7:38pm</span>
</div>
Expand Down
21 changes: 10 additions & 11 deletions week-1/3-semantic-html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,33 @@
</head>

<body>
<div class="site-wrapper">
<main role="main" class="site-wrapper">
<div class="site-header">
<div class="site-header__title">Messages</div>
<header role="banner" class="site-header__title">Messages</header>
</div>
<div class="messages">
<div class="message">
<article class="message">
<div class="message__author">Won</div>
<p class="message__content">Where should we meet later?</p>
<span class="message__time">Mar 25, 2018 7:25pm</span>
</div>
<div class="message">
</article>
<article class="message">
<div class="message__author">Luke</div>
<p class="message__content">
Let's meet at the iCafe in Merchant City.
https://goo.gl/maps/aza4h9nUBhn
Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
</p>
<span class="message__time">Mar 25, 2018 7:35pm</span>
</div>
<div class="message">
</article>
<article class="message">
<div class="message__author">Won</div>
<p class="message__content">
Ok! https://media.giphy.com/media/l41K4KlVE8dgozf8I/giphy.gif
</p>
<span class="message__time">Mar 25, 2018 7:38pm</span>
</div>
</article>
</div>
<div id="result" class="result"></div>
</div>
</main>
<script defer src="/js/3-result.js"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions week-1/4-links-scripts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>4. Adding Links and Scripts - HTML, CSS and Git Exercises</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="./css/missing-styles.css" />
</head>

<body>
Expand All @@ -20,20 +21,19 @@
<div class="message">
<div class="message__author">Luke</div>
<p class="message__content">
Let's meet at the iCafe in Merchant City.
https://goo.gl/maps/aza4h9nUBhn
Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
</p>
<time class="message__time">7:35pm</time>
</div>
<div class="message">
<div class="message__author">Won</div>
<p class="message__content">
No, I prefer the one on Sauchiehall Street.
https://goo.gl/maps/wKDoARcHDp42
No, I prefer the one on Sauchiehall Street. https://goo.gl/maps/wKDoARcHDp42
</p>
<time class="message__time">7:38pm</time>
</div>
</div>
</div>
<script src="./js/convertUrls.js"></script>
</body>
</html>
9 changes: 9 additions & 0 deletions week-1/5-css-selectors/message-backgrounds.css
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
/* Add your CSS code below */
#first-message {
background-color: red;
}
article {
background-color: cadetblue;
}
.message--latest {
background: yellow;
}
15 changes: 15 additions & 0 deletions week-1/7-css-box/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,18 @@
margin: 0.5em;
background: #fff;
}
.pages {
margin-top: 15px;
}

.countries {
width: 433px;
height: 230px;
padding: 10px;
margin: 1px;
}
.country {
padding: 10px;
margin: 5px;
border: 2px solid blue;
}
11 changes: 11 additions & 0 deletions week-1/8-advanced-selectors/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
/* Try different box model properties below */
.site-header p {
color: white;
margin-bottom: 1px;
}
.site-footer p {
font-size: 12px;
text-align: center;
}
.message--unread {
box-shadow: 4px 4px 0 #dba944;
}
10 changes: 10 additions & 0 deletions week-2/10-media-queries/columns.css
Original file line number Diff line number Diff line change
@@ -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;
}
}
2 changes: 1 addition & 1 deletion week-2/10-media-queries/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>10. Media Queries - HTML, CSS and Git Exercises</title>
<link rel="stylesheet" href="/css/normalize.css" />
<link rel="stylesheet" href="/css/week2-media-queries.css" />
<link rel="stylesheet" href="/week-2/9-media-queries/columns.css" />
<link rel="stylesheet" href="/week-2/10-media-queries/columns.css" />
</head>

<body>
Expand Down
8 changes: 8 additions & 0 deletions week-2/11-flexbox/flexbox.css
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
/* Add your own CSS code below */
.countries--first {
display: flex;
flex-direction: row-reverse;
}
.countries--third {
display: flex;
flex-direction: column-reverse;
}
20 changes: 20 additions & 0 deletions week-2/12-justify-content/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,23 @@
}

/* Add your own CSS code below */
.countries--first {
display: flex;
flex-direction: row;
justify-content: flex-end;
}
.countries--second {
display: flex;
flex-direction: row;
justify-content: space-around;
}
.countries--third {
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.countries--fourth {
display: flex;
flex-direction: column-reverse;
justify-content: space-around;
}
20 changes: 20 additions & 0 deletions week-2/13-align-items/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,23 @@
display: flex;
}
/* Add your own CSS code below */
.countries--first {
display: flex;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't actually need display: flex; on each one of these since it's already included in the class countries (which each element also has). It might seem clearer this way though.

flex-direction: row;
align-items: center;
}
.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;
}
63 changes: 63 additions & 0 deletions week-2/14-order/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,66 @@
}

/* Add your own CSS code below */
.countries--first {
display: flex;
}

.countries--first .country--croatia {
order: 1;
}
.countries--first .country--ethiopia {
order: 2;
}
.countries--first .country--brazil {
order: 5;
}
.countries--first .country--laos {
order: 3;
}
.countries--first .country--uganda {
order: 4;
}

.countries--second {
display: flex;
}

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

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

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

.countries--second .country--laos {
order: 3;
}

.countries--second .country--uganda {
order: 5;
}

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

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

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

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

.countries--third .country--uganda {
order: -3;
}
31 changes: 31 additions & 0 deletions week-2/15-align-self/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,34 @@
}

/* Add your own CSS code below */
.countries--first {
display: flex;
}
.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 {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.countries--fourth .country--uganda {
align-self: center;
}
46 changes: 46 additions & 0 deletions week-2/16-more-flexbox/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,49 @@
}

/* Add your own CSS code below */
.countries--first {
justify-content: flex-end;
align-items: flex-end;
}
.countries--second {
flex-direction: row-reverse;
justify-content: center;
align-items: flex-end;
}
.countries--third {
align-items: flex-end;
}
.countries--third .country--laos {
align-self: flex-start;
}
.countries--third .country--uganda {
align-self: flex-start;
}
.countries--third .country--ethiopia {
align-self: flex-start;
}
.countries--third .country--croatia {
align-self: flex-start;
}
.countries--fourth {
flex-direction: column;
align-items: flex-end;
justify-content: center;
}
.countries--fourth .country--ethiopia {
align-self: center;
}
.countries--fourth .country--laos {
align-self: center;
}
.countries--fifth {
flex-direction: column-reverse;
justify-content: space-around;
align-items: flex-end;
}
.countries--fifth .country--laos {
order: 1;
}
.countries--fifth .country--uganda {
align-self: center;
}
2 changes: 1 addition & 1 deletion week-2/18-git-merge/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: orange;
font-weight: 700;
text-decoration: none;
}
4 changes: 3 additions & 1 deletion week-3/19-search/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<body>
<div class="site-wrapper">
<main>
<p>Delete this line and add your form.</p>
<form method="get" action="https://www.google.com/search">
<input type="text" name="q" />
</form>
</main>
</div>
</body>
Expand Down
Loading