Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orange red color #21

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8b8ba59
Completed 1-parent-child exercise
khahmad1 Dec 1, 2022
45404a3
Completed 2-html-attributes exercise
khahmad1 Dec 1, 2022
38739ad
i add the lin of css & script
khahmad1 Dec 1, 2022
efb73ac
i add the backgrounds-colors
khahmad1 Dec 1, 2022
d449560
i completed
khahmad1 Dec 2, 2022
2f00559
i change my website looks
khahmad1 Dec 2, 2022
6a43045
i modified the box model
khahmad1 Dec 2, 2022
2cf65b4
apply CSS styles to some elements but not others
khahmad1 Dec 2, 2022
4b9c66c
i completed meddia-quertes
khahmad1 Dec 2, 2022
df01df4
i completed
khahmad1 Dec 2, 2022
34edb66
i aplly justify-content
khahmad1 Dec 2, 2022
425e1fd
i apply align-itens
khahmad1 Dec 2, 2022
5a174e0
i apply the order
khahmad1 Dec 2, 2022
e16d83a
i apply align-self
khahmad1 Dec 2, 2022
0e0211e
i apply flex box
khahmad1 Dec 2, 2022
8a73d3f
i completed nave menu
khahmad1 Dec 2, 2022
723860e
orange red color link
khahmad1 Dec 2, 2022
9d35558
i completed 19-search
khahmad1 Dec 2, 2022
8f8f07a
complted 20-labels
khahmad1 Dec 2, 2022
88900e7
completed 21-buttons
khahmad1 Dec 2, 2022
e7ae021
completed 22-chekout
khahmad1 Dec 2, 2022
8a6ffe4
completed 23-comments
khahmad1 Dec 2, 2022
555e058
completed 24-dietary
khahmad1 Dec 2, 2022
6f9d0b9
completed 25- shirt-size
khahmad1 Dec 2, 2022
10c3ee5
completed 26-chekout-groups
khahmad1 Dec 2, 2022
f1e2edd
completed 27-attributes
khahmad1 Dec 2, 2022
e71aad2
change the color link in purpel
khahmad1 Dec 2, 2022
fc0d1c4
i changed the color
khahmad1 Dec 2, 2022
df9acec
Merge purple_links branch
khahmad1 Dec 2, 2022
75ebb81
Merge pull request #1 from khahmad1/orange_links
khahmad1 Dec 6, 2022
2a8b42e
Revert "orange red color link"
khahmad1 Dec 6, 2022
381c464
Merge pull request #2 from khahmad1/revert-1-orange_links
khahmad1 Dec 6, 2022
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 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
10 changes: 8 additions & 2 deletions week-1/2-html-attributes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,20 @@
<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="
https://goo.gl/maps/aza4h9nUBhn"
>
iCafe </a
>in Merchant City.
</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" alt="gif " />
</p>
<span class="message__time">7:38pm</span>
</div>
Expand Down
34 changes: 20 additions & 14 deletions week-1/3-semantic-html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,36 @@

<body>
<div class="site-wrapper">
<div class="site-header">
<header role="banner">
<div class="site-header__title">Messages</div>
</div>
<div class="messages">
<div class="message">
</header>
<main role="main">
<article class="article">
<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">
<span class="message__time"
><time datetime="Mar 25, 2018 7:35pm">Mar 25, 2018 7:25pm</time></span
>
</article>
<article class="article">
<div class="message__author">Luke</div>
<p class="message__content">
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">
<span class="message__time"
><time datetime="Mar 25, 2018 7:35pm">Mar 25, 2018 7:35pm</time></span
>
</article>
<article class="article">
<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" alt="" />
</p>
<span class="message__time">Mar 25, 2018 7:38pm</span>
</div>
</div>
<span class="message__time"
><time datetime="Mar 25, 2018 7:35pm">Mar 25, 2018 7:38pm</time></span
>
</article>
</main>
<div id="result" class="result"></div>
</div>
<script defer src="/js/3-result.js"></script>
Expand Down
2 changes: 2 additions & 0 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" href="css/missing-styles.css" />
</head>

<body>
Expand Down Expand Up @@ -33,5 +34,6 @@
</div>
</div>
</div>
<script src="js/convertUrls.js"></script>
</body>
</html>
6 changes: 3 additions & 3 deletions week-1/5-css-selectors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
<div class="site-header__title">Messages</div>
</div>
<div class="messages">
<div id="first-message">
<div id="first-message" class="item1">
<div class="message__author">Won</div>
<p class="message__content">Where should we meet later?</p>
<time class="message__time">7:25pm</time>
</div>
<article>
<article class="item2">
<div class="message__author">Luke</div>
<p class="message__content">
Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
</p>
<time class="message__time">7:35pm</time>
</article>
<div class="message--latest">
<div class="message--latest item3">
<div class="message__author">Won</div>
<p class="message__content">
Ok! https://media.giphy.com/media/l41K4KlVE8dgozf8I/giphy.gif
Expand Down
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 */
.item1 {
background-color: red;
}
.item2 {
background-color: cadetblue;
}
.item3 {
background-color: yellow;
}
8 changes: 4 additions & 4 deletions week-1/6-css-properties/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<div class="site-header">
<div class="site-header__title">Messages</div>
</div>
<div class="messages">
<div class="message">
<div class="messages ">
<div class="message item line ">
<div class="message__author">Won</div>
<p class="message__content">
Where should we meet tomorrrow?
</p>
<time class="message__time message__time--old">Yesterday, 7:25pm</time>
</div>
<div class="message">
<div class="message line ">
<div class="message__author">Luke</div>
<p class="message__content">
Let's meet at the iCafe in Merchant City.
Expand All @@ -33,7 +33,7 @@
</p>
<time class="message__time">7:35pm</time>
</div>
<div class="message message--unread">
<div class="message message--unread line gpu ">
<div class="message__author">Won</div>
<p class="message__content">
Ok!
Expand Down
20 changes: 20 additions & 0 deletions week-1/6-css-properties/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
/* Add your CSS code below */
a {
color: red;
font-weight: bold;
text-decoration: none;
}
.message__time {
font-size: 0.9rem;
}
.item {
opacity: 0.5;
}
.line {
line-height: 50px;
}
.gpu {
border-left: 100px;
border-left-width: 50%;
border-left-color: blue;
border-left: solid blue;
}
9 changes: 9 additions & 0 deletions week-1/7-css-box/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,13 @@
border: 1px solid #4491db;
border-radius: 4px;
background: #fff;
margin: 1px;
padding: 1px;
width: 1px;
}
.countries {
margin: 1opx;
padding: 10px;
width: 95%;
height: 95%;
}
13 changes: 13 additions & 0 deletions week-1/8-advanced-selectors/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
/* Try different box model properties below */
site-header p:nth-child(2) {
color: white;
margin-bottom: 0;
}

.site-footer {
font-size: 12px;
text-align: center;
}

.message:last-child {
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 only screen and (min-width: 768px) {
.countries {
columns: 2;
}
}
@media only screen and (min-width: 1200px) {
.countries {
columns: 3;
}
}
12 changes: 12 additions & 0 deletions week-2/11-flexbox/flexbox.css
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
/* Add your own CSS code below */
.countries--first {
display: flex;
flex-direction: row-reverse;
}
.countries--second {
display: flex;
flex-direction: column;
}
.countries--third {
display: flex;
flex-direction: column-reverse;
}
18 changes: 18 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,21 @@
}

/* Add your own CSS code below */
.countries--first {
display: flex;
justify-content: flex-end;
}
.countries--second {
display: flex;
justify-content: space-between;
}
.countries--third {
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.countries--fourth {
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
}
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 {
flex-direction: row;
align-content: center;
align-items: center;
}
.countries--second {
flex-direction: row-reverse;
align-content: center;
align-items: flex-end;
}
.countries--third {
flex-direction: column;
align-items: center;
align-items: flex-end;
}
.countries--fourth {
flex-direction: column-reverse;
align-items: center;
align-content: center;
}
24 changes: 24 additions & 0 deletions week-2/14-order/flexbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,27 @@
}

/* Add your own CSS code below */
.countries--first .country--brazil {
order: 5;
}
.countries--second .country--brazil {
order: 3;
}
.countries--second .country--uganda {
order: 5;
}
.countries--third .country--brazil {
order: 5;
}
.countries--third .country--croatia {
order: 4;
}
.countries--third .country--ethiopia {
order: 3;
}
.countries--third .country--laos {
order: 2;
}
.countries--third .country--uganda {
order: 1;
}
26 changes: 26 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,29 @@
}

/* 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 {
flex-direction: row;
align-items: flex-end;
}
.countries--third .country--brazil,
.countries--third .country--uganda {
align-self: flex-start;
}
.countries--fourth {
flex-direction: column;
align-items: flex-start;
}
.countries--fourth .country--uganda {
align-self: center;
}
37 changes: 37 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,40 @@
}

/* Add your own CSS code below */
.countries--first {
align-items: flex-end;
justify-content: end;
}
.countries--second {
flex-direction: row-reverse;
align-items: flex-end;
justify-content: center;
}
.countries--third {
align-items: flex-start;
justify-content: center;
}
.countries--third .country--brazil {
align-self: flex-end;
}
.countries--fourth {
flex-direction: column;
align-items: flex-end;
justify-content: center;
}
.countries--fourth .country--ethiopia,
.countries--fourth .country--laos {
align-self: center;
}
.countries--fifth {
flex-direction: column-reverse;
align-items: flex-end;
justify-content: space-around;
}
.countries--fifth .country--uganda {
align-self: center;
order: 4;
}
.countries--fifth .country--laos {
order: 5;
}
Loading