Build a String Transformer - Step 4

Tell us what’s happening:

if you see here If I post working code in step 3 for some reason my ending bracket is DELETED for some reason and a syntax error appears.
Why has no one adressed this?

Your code so far

const originalString = "I love cats.";
console.log("Original string:");
console.log(originalString);


// User Editable Region

const replacedString = originalString.replace("cats", "dogs";


// User Editable Region

Your browser information:

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

Challenge Information:

Build a String Transformer - Step 4

use the reset button in step 4 please, then the starting code of step 4 is going to be restored
this one:
image

still a problem I did go back to it and for some reason on step 4 it deletes (no matter what you do) But still it works for removing the error quick

did you reset the step on step 4? the code that appear after resetting is the starting code of the step. If you have other code that appear that may be in your browser local storage, you can save new code by running the tests or using Ctrl + S

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