When i try to do the form into the input it does not work?:
The existing input element should be nested within a form element.how do i do that how do i nest it when it does not work i need the real answer.
<p>Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
<p>Things cats love:</p>
<p>Top 3 things cats hate:</p>
<input type="text" placeholder="cat photo URL">
Link to the challenge:
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (
</>) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
<input> element that you made in the
<form> element that is below it
First, click “Reset All Code” to get a fresh start on this (you’ve changed things you shouldn’t). The only thing you are instructed to do in this challenge is to add a placeholder attribute to the existing input. That’s all you want to do, nothing else.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.