Why i am not passing this test

Tell us what’s happening:

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://bit.ly/fcc-relaxing-cat" 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 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36.

Challenge: Add Placeholder Text to a Text Field

Link to the challenge:

The failing test message tells you why.

It says "You should set the value of your placeholder attribute to cat photo URL"

Your placeholder doesn’t match that text exactly

what can i do then help me please

You should make sure you create code that is easily readable. Provide whitespace between attributes to easily discern where one begins an one ends. Also, as aforementioned for these tests make sure text matches exactly to pass. Avoiding typos is very important in coding.

<input type=“text” placeholder=“cat photo URL” >

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