From b5d0e5f8781b3da65beb4e9820c927a61854a991 Mon Sep 17 00:00:00 2001 From: gauthiier Date: Sun, 15 Jan 2023 14:21:11 +0100 Subject: [PATCH] in-text code (bis) --- 2.Ghost-Writing.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/2.Ghost-Writing.md b/2.Ghost-Writing.md index a0912c3..b01e109 100644 --- a/2.Ghost-Writing.md +++ b/2.Ghost-Writing.md @@ -40,13 +40,13 @@ function keyTyped() { ### 📚 Exercice 1. Modify sketch 2.0 so that: -* When key ```'k'``` is typed then "Hi Karin!" is printed on the console -* When key ```'s'``` is typed then "Hi Sigrid!" is printed on the console -* When key ```'n'``` is typed then "Hi Nanna!" is printed on the console -* When key ```'m'``` is typed then "Hi Maaike!" is printed on the console +* When key ```'k'``` is typed then ```"Hi Karin!"``` is printed on the console +* When key ```'s'``` is typed then ```"Hi Sigrid!"``` is printed on the console +* When key ```'n'``` is typed then ```"Hi Nanna!"``` is printed on the console +* When key ```'m'``` is typed then ```"Hi Maaike!"``` is printed on the console 2. Modify sketch 2.0 so that: -* Every time key ```'x'``` is typed then print the name of the following person in the array ("Hi David!", "Hi Karin!", "Hi Sigrid!", and so forth) +* Every time key ```'x'``` is typed then print the name of the following person in the array (```"Hi David!"```, ```"Hi Karin!"```, ```"Hi Sigrid!"```, and so forth) ### 🤔 Who/what is "undefined"?