Help A beginner

Tell us what’s happening:
What is wrong with this code?
The task was as easy as using // and /* */ to write comments with at least 5 letters.

Every time I run the code it says syntax error. I even copied and pasted the solution and still saying the same thing.

Please Help.

Your code so far


// I am using java.
/*
Java is a nice language
why isn't this working
  */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362.

Challenge: Comment Your JavaScript Code

Link to the challenge:

can you share the whole error?

can you also try to update your browser to latest version?

This is the error message
// running tests
You should create a // style comment that contains at least five letters. You should create a /* */ style comment that contains at least five letters.
// tests completed
Syntax error in regular expression

Ilenia,
Risolto. You actually helped. I was using explorer and switched browser and …magic … Grazie 1000 :slight_smile:

at least update to Edge, internet explorer is too old for the internet now

1 Like