Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <img src=''https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg''>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1

Challenge: Learn HTML by Building a Cat Photo App - Step 8

Link to the challenge:

Change the single quotes you used to double quotes.
The single quotes you used look like this

‘’

But a double quote looks like this

<img src=''https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg''>

You have double single quotes around the URL. Remove one of the sets of quotes.


For HTML strings I would suggest using double quotes " and not single quotes '. And just to be clear a double quote is a single character. On mobile devices, you may have to make sure not to use any fancy quotes (Smart punctuation)

<img src="https://global.discourse-cdn.com/freecodecamp/original/3X/4/c/4c06248fcb7353707abcde9f10fc43a5fb6748db.svg" alt="Logo">

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