Skip to content

Commit dbe2da2

Browse files
committed
fix-intro-to-js-week-1-exercise linttt
1 parent 4b5bc05 commit dbe2da2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

courses/foundation/intro-to-javascript/week1/session-plan.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,9 @@ console.log(lastUser);
228228
3. Also inside the folder create a new JavaScript file called "pizza.js"
229229
4. Remember to Include the pizza.js script in the html file
230230
5. Write a log statement, so you know that your javascript code is running:
231-
231+
232232
`console.log("I love pizza");`
233+
233234
6. Create a variable to store the name of your favourite pizza
234235
7. Create a variable to store the price of the pizza
235236
8. Now log a statement to the console that will show the chef the entire pizza order in a language they understand, e.g. like this:
@@ -246,4 +247,5 @@ Now we will modify the program so you can order multiple pizzas and decide wheth
246247
4. Modify the log statement for the chef so it includes whether or not the order is for takeaway, and now show the total price of the order:
247248

248249
`New pizza order (takeaway: <takeaway or not?>): <amount of pizzas> <name of pizza>. Total cost for the order is: <total price>`
250+
249251
5. Try to change the price of the pizza and then check if the total price is calculated correctly

0 commit comments

Comments
 (0)