Registration Form step 10

Tell us what’s happening:
Describe your issue in detail here.
“after the p element, insert a form with an action attribute targeting https://register-demo.freecodecamp.org .”
I’ve tried everything I can think of to make this work, I’m not sure what I’m missing. If someone could help get me in the right direction, I’d really appreciate it

   **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
 <head>
   <title>Registration Form</title>
	  <link rel="stylesheet" type="text/css" href="styles.css" />
 </head>
 <body>
   <h1>Registration Form</h1>
   <p>Please fill out this form with the required information</p>
   <form><a href="https://register-demo.freecodecamp.org"></a></form>

 </body>
</html>
/* file: styles.css */
body {
 width: 100%;
 height: 100vh;
 margin: 0;
 background-color: #1b1b32;
	color: #f5f6f7;
}
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 10

Link to the challenge:

@tubthumpin What challenge are you having, what does the challenge need you to do??

after the p element, insert a form with an action attribute targeting https://register-demo.freecodecamp.org .
I’m not sure what I’m doing incorrectly with the ‘action’ attribute

@tubthumpin The only thing the challenge needs you to do is add a form tag after the existing p tag and that’s all…You shouldn’t close your opening form tag like you did and at the same time the challenge doesn’t require you to nest an anchor tag in your form tag…
This what you should have done, hope that helps…

@tubthumpin You should have done this way…

<form action="attribute">
2 Likes

when I do it this way, it says the code is incorrect and that " You should give the form an action attribute." <form a href=“https://register-demo.freecodecamp.org
if I close the form it wont show in text

@tubthumpin please try to understand what the challenge needs you to do and also try to keep calm and understand me correctly…This is your code below, you have the anchor tag <a nested inside your form element and when i checked through, the challenge doesn’t need you to do that…It only says you should add a form element after the existing

tag…I’m not meant to do it for you but for better understanding i’ll and here’s the right code below your code

Mod Edit: SOLUTION REMOVED
That’s the only thing the challenge needs you to do basically!!!Happy coding…

2 Likes

Oh my… I was confusing attribute with element the whole time. I appreciate the clarification. I think maybe I need to walk away and take a break so I can see it more clearly. Thank you!

@tubthumpin Yeah it gets tiring and confusing sometimes but when it happens like that, just take a breath and come back to it…You passed the challenge now??

@larrycode1 I did! Thank you again!

Happy coding…Keep pushing it will get better…I’m here anytime if you have a problem on any particular challenge…

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.