What is the reason I am still jot passing this task?

Tell us what’s happening:
Place value is not in ?
I have thought I have typed in place value, plus , I am able to type it in the web field window.
Please explain to me what I have done wrong at this point ?

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="Cats Photo URL">

</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36.

Challenge: Add Placeholder Text to a Text Field

Link to the challenge:

1 Like

You forgot to leave a space between “text” and placeholder
Edit: actually, you wrote “cats” instead of “cat”

Hello,
The reason you’re not passing the task is because you’re passing the wrong string in the placeholder. The test is expecting a particular string, so a typo or wrong string passed will fail the test

We all get fraustrated at some point when coding only to find out a typo be it the attrubute, id or class name is wrong. You should also check out for opening and closing tags. Hope this info helps you in the subsequent tests and your coding journey.

Happy Coding.

1 Like