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
4 Answers
+ 6
Wesam Sobhy ,
you are talking about *javascript*, but you use the *java* compiler.
+ 2
Aaah, i see, sorry for the mistake đđŸ
+ 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
0
I don't know what is the java compiler, I'm still learning the basics of JavaScript