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

Commit a3431a9

Browse files
committed
Run HTML formatting through prettier, restore shirt size starter text, and remove screen reader CSS at start of exercise
1 parent 25a5f26 commit a3431a9

File tree

21 files changed

+344
-424
lines changed

21 files changed

+344
-424
lines changed

week-1/2-html-attributes/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
<div class="message">
2424
<div class="message__author">Luke</div>
2525
<p class="message__content">
26-
Let's meet at the iCafe in Merchant City.
27-
https://goo.gl/maps/aza4h9nUBhn
26+
Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
2827
</p>
2928
<span class="message__time">7:35pm</span>
3029
</div>

week-1/3-semantic-html/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
<div class="message">
2525
<div class="message__author">Luke</div>
2626
<p class="message__content">
27-
Let's meet at the iCafe in Merchant City.
28-
https://goo.gl/maps/aza4h9nUBhn
27+
Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
2928
</p>
3029
<span class="message__time">Mar 25, 2018 7:35pm</span>
3130
</div>

week-1/4-links-scripts/index.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,14 @@
2020
<div class="message">
2121
<div class="message__author">Luke</div>
2222
<p class="message__content">
23-
Let's meet at the iCafe in Merchant City.
24-
https://goo.gl/maps/aza4h9nUBhn
23+
Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
2524
</p>
2625
<time class="message__time">7:35pm</time>
2726
</div>
2827
<div class="message">
2928
<div class="message__author">Won</div>
3029
<p class="message__content">
31-
No, I prefer the one on Sauchiehall Street.
32-
https://goo.gl/maps/wKDoARcHDp42
30+
No, I prefer the one on Sauchiehall Street. https://goo.gl/maps/wKDoARcHDp42
3331
</p>
3432
<time class="message__time">7:38pm</time>
3533
</div>

week-1/5-css-selectors/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
<article>
2626
<div class="message__author">Luke</div>
2727
<p class="message__content">
28-
Let's meet at the iCafe in Merchant City.
29-
https://goo.gl/maps/aza4h9nUBhn
28+
Let's meet at the iCafe in Merchant City. https://goo.gl/maps/aza4h9nUBhn
3029
</p>
3130
<time class="message__time">7:35pm</time>
3231
</article>

week-1/6-css-properties/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
<p class="message__content">
2222
Where should we meet tomorrrow?
2323
</p>
24-
<time class="message__time message__time--old"
25-
>Yesterday, 7:25pm</time
26-
>
24+
<time class="message__time message__time--old">Yesterday, 7:25pm</time>
2725
</div>
2826
<div class="message">
2927
<div class="message__author">Luke</div>

week-1/7-css-box/index.html

+30-32
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>7. CSS Box Model - HTML, CSS and Git Exercises</title>
6+
<link rel="stylesheet" href="/css/normalize.css" />
7+
<link rel="stylesheet" href="/css/week1.css" />
8+
<link rel="stylesheet" href="/css/week1-pagination.css" />
9+
<link rel="stylesheet" href="styles.css" />
10+
</head>
311

4-
<head>
5-
<meta charset="utf-8">
6-
<title>7. CSS Box Model - HTML, CSS and Git Exercises</title>
7-
<link rel="stylesheet" href="/css/normalize.css">
8-
<link rel="stylesheet" href="/css/week1.css">
9-
<link rel="stylesheet" href="/css/week1-pagination.css">
10-
<link rel="stylesheet" href="styles.css">
11-
</head>
12-
13-
<body>
14-
<div class="site-wrapper">
15-
<div class="site-header">
16-
<div class="site-header__title">Countries</div>
17-
</div>
18-
<ul class="countries">
19-
<li class="country">Afghanistan</li>
20-
<li class="country">Albania</li>
21-
<li class="country">Algeria</li>
22-
<li class="country">Andorra</li>
23-
<li class="country">Angola</li>
24-
</ul>
25-
<div class="pages">
26-
<a href="#" class="pages__page">1</a>
27-
<a href="#" class="pages__page">2</a>
28-
<a href="#" class="pages__page">3</a>
29-
<span class="pages__separator">...</span>
30-
<a href="#" class="pages__page">38</a>
31-
<span class="pages__showing">Showing 5 of 190</span>
32-
</div>
33-
</divc>
34-
</body>
35-
12+
<body>
13+
<div class="site-wrapper">
14+
<div class="site-header">
15+
<div class="site-header__title">Countries</div>
16+
</div>
17+
<ul class="countries">
18+
<li class="country">Afghanistan</li>
19+
<li class="country">Albania</li>
20+
<li class="country">Algeria</li>
21+
<li class="country">Andorra</li>
22+
<li class="country">Angola</li>
23+
</ul>
24+
<div class="pages">
25+
<a href="#" class="pages__page">1</a>
26+
<a href="#" class="pages__page">2</a>
27+
<a href="#" class="pages__page">3</a>
28+
<span class="pages__separator">...</span>
29+
<a href="#" class="pages__page">38</a>
30+
<span class="pages__showing">Showing 5 of 190</span>
31+
</div>
32+
</div>
33+
</body>
3634
</html>

week-1/8-advanced-selectors/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
<p class="message__content">
2424
Where should we meet tomorrrow?
2525
</p>
26-
<time class="message__time message__time--old"
27-
>Yesterday, 7:25pm</time
28-
>
26+
<time class="message__time message__time--old">Yesterday, 7:25pm</time>
2927
</div>
3028
<div class="message">
3129
<div class="message__author">Luke</div>

week-1/9-git-branch/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
<p class="message__content">
2222
Where should we meet tomorrrow?
2323
</p>
24-
<time class="message__time message__time--old"
25-
>Yesterday, 7:25pm</time
26-
>
24+
<time class="message__time message__time--old">Yesterday, 7:25pm</time>
2725
</div>
2826
<div class="message">
2927
<div class="message__author">Luke</div>

week-2/17-nav-menu/index.html

+2-10
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,11 @@
1313
<body>
1414
<div class="site-wrapper">
1515
<header class="site-header" role="banner">
16-
<img
17-
class="site-header__logo"
18-
src="/images/sample-logo.png"
19-
alt="JL Limited Logo"
20-
/>
16+
<img class="site-header__logo" src="/images/sample-logo.png" alt="JL Limited Logo" />
2117
<nav class="site-header__nav">
2218
<a href="#" class="site-header__navItem">Men's Fashion</a>
2319
<a href="#" class="site-header__navItem">Women's Fashion</a>
24-
<a
25-
href="#"
26-
class="site-header__navItem site-header__navItem--highlighted"
27-
>On Sale</a
28-
>
20+
<a href="#" class="site-header__navItem site-header__navItem--highlighted">On Sale</a>
2921
</nav>
3022
<a href="#" class="site-header__checkout">Checkout</a>
3123
</header>

week-2/18-git-merge/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
<p class="message__content">
2222
Where should we meet tomorrrow?
2323
</p>
24-
<time class="message__time message__time--old"
25-
>Yesterday, 7:25pm</time
26-
>
24+
<time class="message__time message__time--old">Yesterday, 7:25pm</time>
2725
</div>
2826
<div class="message">
2927
<div class="message__author">Luke</div>

week-3/22-checkout/index.html

+45-50
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,48 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
4-
<head>
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<title>22 - Checkout Form - HTML, CSS and Git Exercises</title>
8-
<link rel="stylesheet" href="/css/normalize.css">
9-
<link rel="stylesheet" href="/css/week3-forms.css">
10-
</head>
11-
12-
<body>
13-
<div class="site-wrapper">
14-
<main>
15-
16-
<div class="shopping-basket">
17-
<h1 class="shopping-basket__title">Your Shopping Basket</h1>
18-
<table class="shopping-basket__items">
19-
<tr>
20-
<th>Product</th>
21-
<th>Size</th>
22-
<th>Units</th>
23-
<th>Price</th>
24-
</tr>
25-
<tr>
26-
<td>
27-
<div class="shopping-basket__product">
28-
<img src="/images/22/shirts.jpg" alt="CodeYourFuture t-shirts in black"/>
29-
<p>CodeYourFuture t-shirt, black</p>
30-
</div>
31-
</td>
32-
<td>Medium</td>
33-
<td>1</td>
34-
<td>£10.00</td>
35-
</tr>
36-
</table>
37-
</div>
38-
39-
<div class="checkout">
40-
<h2 class="checkout__title">Checkout</h2>
41-
<form method="GET" id="checkout-form" class="checkout__form">
42-
43-
<!-- Add the form fields here -->
44-
45-
<button type="submit">Complete Purchase</button>
46-
</form>
47-
</div>
48-
49-
</main>
50-
</div>
51-
</body>
52-
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>22 - Checkout Form - HTML, CSS and Git Exercises</title>
7+
<link rel="stylesheet" href="/css/normalize.css" />
8+
<link rel="stylesheet" href="/css/week3-forms.css" />
9+
</head>
10+
11+
<body>
12+
<div class="site-wrapper">
13+
<main>
14+
<div class="shopping-basket">
15+
<h1 class="shopping-basket__title">Your Shopping Basket</h1>
16+
<table class="shopping-basket__items">
17+
<tr>
18+
<th>Product</th>
19+
<th>Size</th>
20+
<th>Units</th>
21+
<th>Price</th>
22+
</tr>
23+
<tr>
24+
<td>
25+
<div class="shopping-basket__product">
26+
<img src="/images/22/shirts.jpg" alt="CodeYourFuture t-shirts in black" />
27+
<p>CodeYourFuture t-shirt, black</p>
28+
</div>
29+
</td>
30+
<td>Medium</td>
31+
<td>1</td>
32+
<td>£10.00</td>
33+
</tr>
34+
</table>
35+
</div>
36+
37+
<div class="checkout">
38+
<h2 class="checkout__title">Checkout</h2>
39+
<form method="GET" id="checkout-form" class="checkout__form">
40+
<!-- Add the form fields here -->
41+
42+
<button type="submit">Complete Purchase</button>
43+
</form>
44+
</div>
45+
</main>
46+
</div>
47+
</body>
5348
</html>

week-3/23-comments/index.html

+9-13
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,24 @@
1414
<article>
1515
<h1>Our t-shirts are amazing!</h1>
1616
<p>
17-
Lorem ipsum dolor sit amet, aliquam laoreet quaestio in eum, ea
18-
tation dignissim vix. Ei nec audire vocibus corrumpit. Ut quo
19-
facilisis adipiscing, malis sensibus abhorreant vel ei. Hinc
20-
appareat dissentias pri at, impedit propriae ea eos. Modus feugait
21-
te duo, sit noluisse salutatus maiestatis ea. Iisque volumus duo ex,
22-
deleniti aliquando quo ne.
17+
Lorem ipsum dolor sit amet, aliquam laoreet quaestio in eum, ea tation dignissim vix. Ei
18+
nec audire vocibus corrumpit. Ut quo facilisis adipiscing, malis sensibus abhorreant vel
19+
ei. Hinc appareat dissentias pri at, impedit propriae ea eos. Modus feugait te duo, sit
20+
noluisse salutatus maiestatis ea. Iisque volumus duo ex, deleniti aliquando quo ne.
2321
</p>
2422
<p>
25-
Eos nibh maiorum voluptatibus ea, an labitur phaedrum sed, vis justo
26-
option intellegat ad. Vel ut ferri dolores. Ad hinc moderatius
27-
scriptorem vim, utamur electram ad est, sed no dicit homero
28-
dissentias. Usu qualisque concludaturque id, prodesset
29-
concludaturque eu usu, ea est regione platonem. Et rebum
30-
theophrastus per, dicta aliquam adipisci pri cu, ne quem justo mea.
23+
Eos nibh maiorum voluptatibus ea, an labitur phaedrum sed, vis justo option intellegat
24+
ad. Vel ut ferri dolores. Ad hinc moderatius scriptorem vim, utamur electram ad est, sed
25+
no dicit homero dissentias. Usu qualisque concludaturque id, prodesset concludaturque eu
26+
usu, ea est regione platonem. Et rebum theophrastus per, dicta aliquam adipisci pri cu,
27+
ne quem justo mea.
3128
</p>
3229
</article>
3330

3431
<div class="comments">
3532
<p>Add your comments and let us know what you think!</p>
3633

3734
<!-- Your comment form goes here -->
38-
3935
</div>
4036
</main>
4137
</div>

week-3/24-dietary/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<h1>CodeYourFuture Summit</h1>
1515

1616
<p>
17-
Let us know if you have any dietary requirements so that we can
18-
provide you with the best, yummy food.
17+
Let us know if you have any dietary requirements so that we can provide you with the best,
18+
yummy food.
1919
</p>
2020

2121
<form>

0 commit comments

Comments
 (0)