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

Skip to content

Commit 8e134b3

Browse files
authored
Update MAKEME.md
1 parent d198aee commit 8e134b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Week1/MAKEME.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
7. Change the function `vehicle` to use the list of question 5. So that `vehicle("green", 3, 1)` prints "a green new caravan".
1616

17-
8. Use the list of vehicles to write an advertisment. So that it prints something like: `"Amazing Joe's Garage, we service cars, motorbikes, caravans and bikes."`. What if you add one more vehicle to the list, can you have that added to the list without changing your code.
17+
8. Use the list of vehicles to write an advertisment. So that it prints something like: `"Amazing Joe's Garage, we service cars, motorbikes, caravans and bikes."`. (Hint: use a `for` loop.)
18+
19+
9. 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?
1820

1921
On freecodecamp.com please try to do all [Basic JavaScript](https://www.freecodecamp.com/challenges/learn-how-free-code-camp-works) exercises (there are some topics we did not cover but you can do it). Please make sure you REALLY understand the exercises below:
2022

0 commit comments

Comments
 (0)