Tell us what’s happening:
I am at a loss. I have tried each of the other attempts presented by others to no avail. I have removed the “” marks and put them back. I ensured that I used the right number of . and “” marks. I get the following warnings on the red and white x from the code below: expected an assignment or function call and instead saw an expression, missing semi-colon, unexpected , expected an assignment or function call and instead saw an expression, missing semi-colon
Thanks!
Randall, whatever you said to change, I didn’t see. Are we supposed to put the actual line above the line to be changed like: ```var myStr= I am a “double quoted” string inside “double quotes”. and then fix the actual line? Your code so far
var myStr; I am a \"double quoted"\ string inside \"double quotes"\"."; // Change this line
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:55.0) Gecko/20100101 Firefox/55.0.
I got the following errors: missing semicolon (twice) expected an assignment or function call and instead saw an expression (twice) unexpected \ . I tried with and without the actual " " marks to no avail. I tried substituting an = for the first ; after myStr.
var myStr = "I am a \"double quoted"\ string inside \"double quotes"\".";
``` I used the = sign which makes sense to me more than the first ; and the double quotes. I get errors of unexpected \ and missing semi-colon. The black box says syntax error: illegal character. Do I need another space after the period? and before the last semi-colon. I don't understand why the period needs to be in quotes, at least according to one response to the hints. Thanks again, btw.