Hi, I'm stuck in a code in the lesson of for loops in basics of JavaScript, please help me | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Hi, I'm stuck in a code in the lesson of for loops in basics of JavaScript, please help me

The code wants me to output a string sentence 3 times using the for loops and it gives me the string as an input https://code.sololearn.com/cmQ86b1A5K7a/?ref=app

22nd Nov 2023, 1:57 PM
Wesam Sobhy
Wesam Sobhy - avatar
4 ответов
+ 6
Wesam Sobhy , you are talking about *javascript*, but you use the *java* compiler.
22nd Nov 2023, 4:47 PM
Lothar
Lothar - avatar
+ 2
Aaah, i see, sorry for the mistake 🙏🏾
22nd Nov 2023, 6:07 PM
Wesam Sobhy
Wesam Sobhy - avatar
+ 1
If you look on your code, you see left the orange box for "java". Java is also a programming language but has nothing to do with Javascript. For JavaScript you need to choose web when you create a new code. Inside the code you find three pages: html, css and javascript. Click on Javascript and then you can write your code there. Here are two examples: https://code.sololearn.com/Wh9GLS388YkV/?ref=app https://code.sololearn.com/WxWGi6NCH4pB/?ref=app
22nd Nov 2023, 5:18 PM
Denise Roßberg
Denise Roßberg - avatar
0
I don't know what is the java compiler, I'm still learning the basics of JavaScript
22nd Nov 2023, 4:50 PM
Wesam Sobhy
Wesam Sobhy - avatar