Can you repost your latest code attempt (not a screenshot)?
To enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.
In escaping quotes in strings the backlash to escape the first quote mark comes first just as in your code and the second backlash comes right before the closing quote mark.