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:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Roma
February 5, 2021, 4:24pm
2
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” >
system
Closed
August 8, 2021, 6:25am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.