Hello there
I am stuck in the Basic HTML,In the Basic HTML and HTML5: Add Placeholder Text to a Text Field
:-
it is giving error while i run this code
<input type= "text" placeholder="cat photo URL".>
is there something wrong with it?while it is working on ATOM editors.
Please reply anyone if convenient .
Thanks
Hello randeldawosn
Thanks for your reply.
Even if i remove the ". " still the same error.
Error says:-
Set the value of your placeholder attribute to “cat photo URL”.
please reply
<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">
</main>
<input type= "text"
placeholder= "https://bit.ly/fcc-relaxing-cat">
Even if i try the code below ,it still give an error.While i tried on Atom ,it works.