I’m sorry, that last post does not seem to contain a question either. What do you need help with?
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.
here input is nested inside the div you are not suppose to put input tag inside the form tag itself but in between the opening and closing form tags just like here input is between opening and closing div tag
thanks but it is resolved now. i was nesting input tag inside form but it was showing test failed again and again. It was a bug i guess because after re login it got resolved.
Hi @rahuljoshi10. I think it’s not a bug because the code you first provided has some mistakes in it:
There is an extra space after the form.
You don’t have a < at the start and you removed the placeholder attribute. Please only do what’s said in the challenge.
When you logged in again and did the challenge again, you didn’t remove the placeholder attribute and fixed the issues.
Also, I see that you have posted your solution here. Please don’t do so. If other campers see it, they can use it in their code and pass the challenge. If they do so, they will learn only copy-pasting. If you want to post full solutions, please surround it with [spoiler] and [/spoiler] tags.
I think you had changed this, and the test failed for that - really common issue, really, accidentally changing something, and that stopping the tests from passing
yeah i know the solution, but due to the bug i was trying everything and that 1st program i posted got posted by mistake i know its wrong. and the solution you are talking about , i posted that because it was not working that time… that was the bug you can see that i have nested input correctly in the form element still it was not working and when i restarted it start working.
This is the same thing I have to tell you. The FCC challenge checks if your code matches the solution and if you change anything that’s not said in the challenge, FCC will show the tests as failed.
This doesn’t mean that you can’t play with your code. You can experiment with your code, but before submitting the answer, please reset the code and do what’s said in the challenge.