Skip to content

Commit 4ea6eeb

Browse files
committed
27-attritbutes-complete
1 parent 3037dbb commit 4ea6eeb

3 files changed

Lines changed: 23 additions & 11 deletions

File tree

week-2/18-git-merge/readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ Now edit the `style.css` file and change the colour of the links in your message
4343

4444
Next, you will need to push the `orange_links` branches. When you have a _new_ branch, you have to add extra information to the _first_ `push` command:
4545

46-
```shell
46+
````shell
4747
git push -u origin orange_links
48-
```
48+
```gi
49+
4950
5051
When you have successfully pushed your `orange_links` branch, you should see the following in your GitHub repository.
5152
@@ -72,3 +73,4 @@ Now that you've created the pull request, make some final checks and then merge
7273
![Screenshot of the open pull request screen in GitHub](/images/18/pull-request-3.png)
7374
7475
Congratulations! You have now changed the colour of the links and merged those changes to your `master` branch.
76+
````

week-2/18-git-merge/styles.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
font-weight: 700;
55
text-decoration: none;
66
}
7-
.link

week-3/27-attributes/index.html

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,30 @@ <h2 class="checkout__title">Checkout</h2>
4242
<legend>Billing Address</legend>
4343
<p>
4444
<label for="billing-address-1">Address Line 1</label>
45-
<input type="text" name="billing-address-1" id="billing-address-1" />
45+
<input type="text" name="billing-address-1" id="billing-address-1" required />
4646
</p>
4747
<p>
4848
<label for="billing-address-2">Address Line 2</label>
49-
<input type="text" name="billing-address-2" id="billing-address-2" />
49+
<input type="text" name="billing-address-2" id="billing-address-2" required />
5050
</p>
5151
<p>
5252
<label for="billing-postcode">Postcode</label>
53-
<input type="text" name="billing-postcode" id="billing-postcode" />
53+
<input type="text" name="billing-postcode" id="billing-postcode" required />
5454
</p>
5555
<p>
5656
<label for="billing-city">City</label>
57-
<input type="text" name="billing-city" id="billing-city" />
57+
<input type="text" name="billing-city" id="billing-city" required />
5858
</p>
5959
</fieldset>
6060
<fieldset>
6161
<legend>Delivery Address</legend>
6262
<p>
6363
<label for="delivery-address-1">Address Line 1</label>
64-
<input type="text" name="delivery-address-1" id="delivery-address-1" />
64+
<input type="text" name="delivery-address-1" id="delivery-address-1" required />
6565
</p>
6666
<p>
6767
<label for="delivery-address-2">Address Line 2</label>
68-
<input type="text" name="delivery-address-2" id="delivery-address-2" />
68+
<input type="text" name="delivery-address-2" id="delivery-address-2" required />
6969
</p>
7070
<p>
7171
<label for="delivery-address-postcode">Postcode</label>
@@ -77,11 +77,22 @@ <h2 class="checkout__title">Checkout</h2>
7777
</p>
7878
<p>
7979
<label for="delivery-address-city">City</label>
80-
<input type="text" name="delivery-address-city" id="delivery-address-city" />
80+
<input
81+
type="text"
82+
name="delivery-address-city"
83+
id="delivery-address-city"
84+
required
85+
/>
8186
</p>
8287
<p>
8388
<label for="delivery-country">Country</label>
84-
<input type="text" name="delivery-country" id="delivery-country" />
89+
<input
90+
value="United Kingdom"
91+
type="text"
92+
name="delivery-country"
93+
id="delivery-country"
94+
readonly
95+
/>
8596
</p>
8697
<fieldset>
8798
<legend>Delivery Options</legend>

0 commit comments

Comments
 (0)