0
Help!
Iâm just starting out on JavaScript, and itâs really fun!! But when I execute a script code on the lessons, it goes through. But then I try on the home screen playground and it says all these errors, which I donât understand. Is this supposed to happen?
5 RĂ©ponses
+ 2
Please show us your code so that we can help you.
+ 2
Isnât Javascript? JS is in web developement
+ 1
Well itâs working fine for me
https://code.sololearn.com/WYAs47NZ5e08/?ref=app
0
var course = 1;
if (course == 1) {
document.write("<h1>HTML Tutorial</h1>");
} else if (course == 2) {
document.write("<h1>CSS Tutorial</h1>");
} else {
document.write("<h1>JavaScript Tutorial</h1>");
}
0
is it incorrect for me to choose java? should i choose web instead?