Pls help, the fcc relaxing cat img code isn't working for me

Tell us what’s happening:

fcc relaxing cat.

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src=“https://bit.ly/fcc-relaxing-cat” alt=“fcc-relaxing-cat.”>

<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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0.

Challenge: Add Images to Your Website

Link to the challenge:

Quotation marks are not valid in the code. It should be like this:

<img src="https://bit.ly/fcc-relaxing-cat" alt="fcc-relaxing-cat.">

:x: Invalid:
:green_circle: Valid: "

Welcome to the community!

1 Like

Using wrong quotations mark. They do make a difference.
" instead of “

1 Like

hello piedcipher, pls i’m still getting same syntax error.

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.

can you post the error message or screenshot of error message?

yes
this is it: // running tests
SyntaxError: invalid regular expression flag s

Could you try this in a different browser or restarting the current browser?

1 Like

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

1 Like