Hi , i cant create a form. It is not working.
This is the code i am using
<form action=“/link given”>
<input type=“text” placeholder=“cat photo url”>
</form>
Please help
Hi , i cant create a form. It is not working.
This is the code i am using
<form action=“/link given”>
<input type=“text” placeholder=“cat photo url”>
</form>
Please help
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 (’).
What are you trying to accomplish? What isn’t working correctly? Are there any particular parts that you need help with?
One thing I noticed is that some of your quotes aren’t actual quote characters. They look like the “fancy quotes” that many Apple products will insert to make it look pretty. If you are on a iOS device, turn off “smart punctuation” in settings.
I don’t know what your form’s action is supposed to be, but “/link given” is probably not it.
Hello @Rushi1,
I don’t really know what are you trying to do but maybe the issue is at the level of your action property. You should give us more details such as the challenge for that we see what you need to do.
(post deleted by author)
I apologise for not making myself clear. i am doing the basic html course right now(cat photo app) and i am stuck on how to create a form element
This is my code:
<form action ="/ https://www.freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
I am not sure what i did wrong.
This is the running test:
Your form should have an action attribute which is set to Thank You message for Cat Photo App form submission| freeCodeCamp.org.
Thanks!
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 (’).
Look the link in your action:
/ https://www.freecatphotoapp.com/submit-cat-photo
Watch well the example into the course and see what syntax issue do you have in that link. I suppose the issue is the link, don’t hesitate to give us the link of the challenge too
I did it. Thank you so much!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.