Lesson 2.2 practice | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Lesson 2.2 practice

I can't finish this lesson because I don't know how to code and there is nothing teaching or helping me in how to do that. I tried everything and the only help it gives is "use console log". Worst program for teaching I've ever seen.

4th Mar 2022, 2:59 PM
Daniel Pirozzi
Daniel Pirozzi - avatar
14 Answers
+ 3
The code looks okay, itcould be a sololearn problem: Sometimes sololearn is a little buggy and slow – it usually resolves by closing and reopenin the app or by running the code some time later.
4th Mar 2022, 4:08 PM
Lisa
Lisa - avatar
+ 7
May be you are missing something (like exclamation mark or period - at the end) and check again you might get it right. Edit: Daniel Pirozzi I just saw your code is missing (;) at the end to finish the statement. Then only it will get right. I just completed that task and got it correct.
4th Mar 2022, 4:13 PM
D Shah 🎯⏳️
D Shah 🎯⏳️ - avatar
+ 2
I am not sure what exactly this refers to. Is there a green ✅ behind the code project and the previous lessons?
4th Mar 2022, 4:01 PM
Lisa
Lisa - avatar
+ 1
If you need help, please show us the code that you wrote. Basically the only thing you need to do is changing the message in console.log()
4th Mar 2022, 3:56 PM
Lisa
Lisa - avatar
+ 1
Can you just show us the code? Maybe there is a typo or something
4th Mar 2022, 4:01 PM
Lisa
Lisa - avatar
+ 1
It should be only 1 line of code, maybe you can copy and paste it here?
4th Mar 2022, 4:02 PM
Lisa
Lisa - avatar
+ 1
Yes, your code does the job ;) I had similar issues in the Java course and it "solved itself" by running the code a few hours later or the next day.
4th Mar 2022, 4:15 PM
Lisa
Lisa - avatar
+ 1
It worked now... Omg, I'm so angry because I thoght m my code was wrong and I tried more than 10 times to write it in different ways.
4th Mar 2022, 7:02 PM
Daniel Pirozzi
Daniel Pirozzi - avatar
+ 1
Great! It just happens sometimes when they work on something in the background :)
4th Mar 2022, 7:04 PM
Lisa
Lisa - avatar
0
Lisa but I did that and still not finishing the practice. Says it's wrong.
4th Mar 2022, 3:59 PM
Daniel Pirozzi
Daniel Pirozzi - avatar
0
Oh, there is not screenshot option. But I just wrote console.log("JS is fun")
4th Mar 2022, 4:04 PM
Daniel Pirozzi
Daniel Pirozzi - avatar
0
Well... The code is right then? I'll give it a second chance later, tyvm
4th Mar 2022, 4:11 PM
Daniel Pirozzi
Daniel Pirozzi - avatar
0
♾️ D Shah ♾️ i tried with (;) also... Didn't work. But now is right
4th Mar 2022, 7:03 PM
Daniel Pirozzi
Daniel Pirozzi - avatar
- 1
Lisa yes!! Let me add a screenshot
4th Mar 2022, 4:02 PM
Daniel Pirozzi
Daniel Pirozzi - avatar