Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40b3216

Browse files
committed
homework fix
1 parent 90ebda4 commit 40b3216

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Week2/MAKEME.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ if (3 == 3) {
4545

4646
8. How do you get the third element from that list?
4747

48-
9. Change the function `vehicle` to use the list of question 5. So that `vehicle("green", 3, 1)` prints "a green new caravan".
48+
9. Change the function `vehicle` to use the list of question 4. So that `vehicle("green", 3, 1)` prints "a green new caravan".
4949

5050
10. Use the list of vehicles to write an advertisement. So that it prints something like: `"Amazing Joe's Garage, we service cars, motorbikes, caravans and bikes."`. (Hint: use a `for` loop.)
5151

52-
11. What if you add one more vehicle to the list, can you have that added to the advertisement without changing the code for question 8?
52+
11. What if you add one more vehicle to the list, can you have that added to the advertisement without changing the code for question 7?
5353

5454
12. Create an empty object
5555

0 commit comments

Comments
 (0)