Add placeholder to text

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<input type="text"placeholder="cat photos URL">
</main>
<!--
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-G975U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36

Challenge: Add Placeholder Text to a Text Field

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Hello @Morris011,

I suggest you to watch what the challenge ask you to write into the placeholder attribute.

Your code:

<input type="text"placeholder="cat photos URL">

Challenge:
Set the placeholder value of your text input to “cat photo URL”.

I wrote it exactly this way and it’s still not moving me to the next lesson

No you didn’t. Look well the typo. The answer is really in the challenge sentence. You wrote cat photos URL. There is no s at photo into the challenge exercice.

Hi @Morris011 !

Welcome to the forum!

As mentioned earlier, you have a typo here

As a general tip, it is always best to copy and paste the text they want you to use for the challenges instead of typing it out yourself.
That way you don’t get caught up with typos like this.

Hope that helps! :grinning:

1 Like

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