We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c60427b commit 9ab417aCopy full SHA for 9ab417a
Sprint-2/1-key-errors/0.js
@@ -1,13 +1,13 @@
1
-/"hello Mhairi" === `hello ${mhairiName}`;
+"hello Mhairi" === `hello ${mhairiName}`;
2
"${mhairiName} is 28" === `Mhairi is ${mhairiAge}`;
3
4
// My answer is:
5
const mhairiName = "Mhairi";
6
const mhairiAge = 28;
7
8
-const sentence1= `hello ${mhairiName}`;
9
-console.log(sentence1); // ➜ Output: hello Mhairi
+const sentence1= `Hello ${mhairiName},nice to meet you`;
+console.log(sentence1); // ➜ Output: Hello Mhairi, nice to meet you
10
11
12
-const sentence= `${mhairiName} is ${mhairiAge}`;
13
-console.log(sentence); // ➜ Output: Mhairi is 28
+const sentence= `${mhairiName} is ${mhairiAge} years old`;
+console.log(sentence); // ➜ Output: Mhairi is 28 years old
0 commit comments