Unable to complete the exercise 7 in introduction to javascript


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

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

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
//
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 jaun
dice.’);
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.’);
*/
still receiving this error
Does the single line comment say ‘// Opening line’? after following the instructions, please help

```

Replace this line with your code.

<do not remove the three backticks above>

#2

Hi @12rads34,

I believe you overlook some part of the instructions:

Copied from the lesson:

Instruction 1:
Let’s practice adding some code comments.
To the right, we’ve provided you with the beginning of the book Catch-22 by Joseph Heller.
On line 1, write a single line comment that says ‘Opening line’.

Your code:

// <=== You're supposed to add something here ;)
console.log(‘It was love at first sight.’);

Add-in those required words accordingly to what the lesson instructed after the // symbol. It should pass then.


Hope it helps. Cheers! :slight_smile:


#3

I tried as per your suggestion again no luck.

Please help


#4

Thanks! It worked.

Tried // Opening line


#5

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