diff --git a/.questions/questions-0/index.md b/.questions/questions-0/index.md index aa40b0cb..70d387fe 100644 --- a/.questions/questions-0/index.md +++ b/.questions/questions-0/index.md @@ -1,6 +1,8 @@ Q: What is a javascript REPL? Can you name two ways to open one? -A: {YOUR ANSWER HERE} +A: An interactive shell that processes Node.js exxpressions. +1. Open the command palette and search for ans select "Start REPL" +2. Type python Remember to commit and push when you're finished! \ No newline at end of file diff --git a/.questions/questions-1/index.md b/.questions/questions-1/index.md index a839b418..a6543c7b 100644 --- a/.questions/questions-1/index.md +++ b/.questions/questions-1/index.md @@ -1,6 +1,6 @@ Q: How do you write "Hello World" to the console? -A: {YOUR ANSWER HERE} +console.log("Hello World") -Remember to commit and push when you're finished! \ No newline at end of file +Remember to commit and push when you're finished! diff --git a/questions-and-reviews/questions/0.md b/questions-and-reviews/questions/0.md index ab3127d7..57ec288c 100644 --- a/questions-and-reviews/questions/0.md +++ b/questions-and-reviews/questions/0.md @@ -25,4 +25,8 @@ b) What will `result2` evaluate to? Explain your answer c) Try to summarise the main difference between `logSum` and `calculateSum` -{YOUR ANSWERS HERE} +{ +result1: 10 + 32 +result2: 42 +main difference: logSum uses parentheses, so it calculate the total of the numbers +} diff --git a/questions-and-reviews/questions/1.md b/questions-and-reviews/questions/1.md index e6a043f1..2a87014c 100644 --- a/questions-and-reviews/questions/1.md +++ b/questions-and-reviews/questions/1.md @@ -5,6 +5,6 @@ Ctr + Shift + V (Windows/Linux) or CMD + Shift + V (Mac) In this task, you'll need to look at some code in `1.js` and, firstly, predict what it will do, **without executing it**. -{YOUR PREDICTION HERE} +My prediction is it gives Error Afterwards, you can execute the code in `1.js` to check your answer 📝