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

Skip to content

Commit e7b7fea

Browse files
author
Samir Aleido
committed
🐛 fix: According to vehiclesList the 3rd (ordinary) is bike
1 parent 2cc49f5 commit e7b7fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Week3/MAKEME.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ let favoriteAnimals = ['blowfish', 'capricorn', 'giraffe'];
121121

122122
8. How do you get the third element from that list?
123123

124-
9. Change the function `vehicle` to use the list of question 7. So that `vehicle("green", 3, 1)` prints "a green new caravan".
124+
9. Change the function `vehicle` to use the list of question 7. So that `vehicle("green", 3, 1)` prints "a green new bike".
125125

126126
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.)
127127

0 commit comments

Comments
 (0)