let quoteSample = “The quick brown fox jumps over the lazy dog.”;
let alphabetRegex = /change/; // Change this line
let result = alphabetRegex; // Change this line
were you write your Regex in Line two and change Line 3 into something like this:
let result = quoteSample.match(alphabetRegex); // Change this line
As soon as im at the following point in Line 3 “let result = quoteSample.match(; // Change this line” I get a Syntax error.
There are two Problems I’m not able to fix after it. A) no matter what i do the message about the Syntax error ist not disappearing except if i “Reset the lesson”. But thats when Problem B occurs: I can’t “Run the Tests” anymore in this Browser. So i copy my Code, open another Browser paste it in there, “Run the Tests” get the “Download my Solution/Test Succesfull message” have to reload the original browser so it has the Data that i finished the Test and move on to the next one.
It’s like the Editor is frozen after it finds the first Syntax Error and unable to comprehend any changes to the code or commands i am giving it. Also it’s not always at that same point i’m getting the Syntax Error but neither have i transcribed every single instance of it happening nor would that fit in one single Post. But it happened a lot in the first 13 Tests of that course.
There is an issue at the moment with the console not updating, but there is an easy workaround:
- Copy your code
- Refresh the page (CTRL+F5)
- Paste your code
This will refresh the console too. You may need to do this each time the console gets stuck, until you have correct code to pass the challenge.