7.comment in javascript, Bug?

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-javascript/lessons/introduction-to-javascript/exercises/comments?action=lesson_resume

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
So, I’m stuck in this exercice, I have to create a multi-line comments, what I did, but still get this error message; “Did you comment out lines 4 through 9, so they do not print?” here is my code:

``` //Opening line console.log('It was love at first sight.'); console.log('The first time Yossarian saw the chaplain he fell madly in love with him.'); /*console.log('Yossarian was in the hospital with a pain in his liver that fell just short of being jaundice.'); console.log('The doctors were puzzled by the fact that it wasn\'t quite jaundice.'); console.log('If it became jaundice they could treat it.'); console.log('If it didn\'t become jaundice and went away they could discharge him.'); console.log('But this just being short of jaundice all the time confused them.');*/

I also trid this:
//Opening line
console.log(‘It was love at first sight.’);
console.log(‘The first time Yossarian saw the chaplain he fell madly in love with him.’);
/*
console.log(‘Yossarian was in the hospital with a pain in his liver that fell just short of being jaundice.’);
console.log(‘The doctors were puzzled by the fact that it wasn’t quite jaundice.’);
console.log(‘If it became jaundice they could treat it.’);
console.log(‘If it didn’t become jaundice and went away they could discharge him.’);
console.log(‘But this just being short of jaundice all the time confused them.’);
*/
I tried it on differents navigator but still get the error message, am I wrong or is it a bug there?

<do not remove the three backticks above>

Hi @moaxrwin,

It’s not a bug.

“Did you comment out lines 4 through 9, so they do not print?”

Your /* should start after the first console.log

That is before the console.log(‘The first time Yossarian saw the chaplain he fell madly in love with him.’);


I think you accidentally change the code in the exercise

Make sure your /* start at line 4, and continue with console.log(‘The first time Yossarian saw the chaplain he fell madly in love with him.’);

1 Like

Oh yeah! Thnak you very much! :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.