Can't solve first JavaScript's course project, help! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can't solve first JavaScript's course project, help!

It works fine in code editor, I don't know why it doesn't accept it, how am I supposed to return the words? I tried using console.log and document.write, nothing works, here is the code: https://code.sololearn.com/W7Kz9J1TCiiR/?ref=app

7th Dec 2020, 1:41 PM
Karak10
Karak10 - avatar
1 Answer
0
You have to use console.log() instead of document.write() for the output, and append another dollar sign at the end of each line. The example in the description of the task is a little bit off in this regard.
7th Dec 2020, 2:04 PM
Shadow
Shadow - avatar