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 photo URL">
</main>
<form action="/url-where-you-want-to-submit-form-data">
<input>
</form>
<input>form action=/"https://freecatphotoapp.com/submit-cat-photo"
<input>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36.
Challenge: Create a Form Element
Link to the challenge:
You need to provide the correct action url in form. Please read the task carefully.
Помогите пожалуйста как написать правильно?
Compare to the example:
<form action="/url-where-you-want-to-submit-form-data">
<input>
</form>
The input that was already there needs to be put inside a form. You should have only one input.
А как правильно поместить внутрь form туда input, я новичок
Уже который час не могу это решить
<form action="/url-where-you-want-to-submit-form-data">
<input>
</form>
<input>form action=/"https://freecatphotoapp.com/submit-cat-photo"
<input>
помогите решить это
Hi @abdulazizergashbaev1 !
Your solution should only be three lines of code.
Correct url from lesson:https://freecatphotoapp.com/submit-cat-photo
Correct input from lesson: <input type="text" placeholder="cat photo URL">
It should look structurally similar to this
<form action="correct url goes here">
<correct input goes here>
</form>
And that’s it.
You do not need to create a new input.
Place your form tags around the existing input.
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<!--do not touch this input-->
<!--wrap your form tags around this input-->
<input type="text" placeholder="cat photo URL">
</main>
Hope that makes sense
<input type="text" placeholder="cat photo URL">
nest this in a form element
action=/"https://freecatphotoapp.com/submit-cat-photo"
attach this attribute in the opening of form element
Hi @nilkanth.vinayak !
Welcome to the forum!
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 (’).
<form action="correct url goes here">
<correct input goes here>
</form>
Говорят что это тоже неправильно?
You are supposed to replace
"correct url goes here"
with the actual url address which is this https://freecatphotoapp.com/submit-cat-photo.
Same with this
<correct input goes here>
You are supposed to use the actual input which is this <input type="text" placeholder="cat photo URL"> .
This was just an example to show you what it structurally should look like.
<form action="correct url goes here">
<correct input goes here>
</form>
Hope that makes sense now.
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text placeholder="cat photo URL">.
</form>
Говорят еще одна ошибка!
Существующий input элемент должен быть вложен в form элемент? А как это понять?
И спасибо вам большое за ответы!
So close
You are missing quotes at the end here
abdulazizergashbaev1:
"text