Syntax error notice

the code is running fine, the image of the relaxing cat is visible, but the program is showing me a syntax error notice and not calculating my score.

Post your code here, you probably have a syntax error somewhere

h2>CatPhotoApp</h2>

<main>

<a href="https://freecatphotoapp.com">"Cat Photos"</a>

  <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

  <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

  <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

</main>

Can you wrap your code in 3 backticks before and after

what’s the challenge link? what error are you getting?

I’ve edited your post for readability. When you 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.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like

I don’t understand what backticks are

Your opening h2 tag should look like this

<h2>
1 Like

ok thanks. I’ll try to figure out what u mean and where the backticks should be.
this is what the program actuall says: / running tests
SyntaxError: invalid regular expression flag s

you need to update your browser or use a different fully updated browser


next time

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like