Learn HTML Forms by Building a Registration Form - Step 12

Where to put the method attribute?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>

<!-- User Editable Region -->

    <form action='https://register-demo.freecodecamp.org'></form>

<!-- User Editable Region -->

  </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/114.0.0.0 Safari/537.36

Challenge: Learn HTML Forms by Building a Registration Form - Step 12

Link to the challenge:

I believe you have done projects where you used the source attributes to give a value for the image tag. Something like this img src="https://catphoto.com" now carefully study the code above or go through similar values you have in your code:

you will spot the error…

If you get this right you will be able to place the method attribute just like how you place type, class, and id

1 Like

Thanks! got it. Had a long break so i forgot everthing…

1 Like

Your welcome sir.

I have a belief that just like math, if you leave coding for a day, it leaves you for 10 days, especially as a learner this is what is keeping me going “little every day!”

1 Like

Theres nothing wrong with taking a day or two off. Sometimes its just what you need because this stuff can be a giant headache. Just try and make sure its not much longer than that. I know first hand how much it sucks trying to come back after a long break.

1 Like

Yeah, the statement is figurative sir.

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