Learn HTML Forms by Building a Registration Form - Step 11

Tell us what’s happening:
What is this action attribute?
I don’t understand what this link is for
https://register-demo.freecodecamp.org

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>
 
  
  
  </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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

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

Link to the challenge:

well you are learning how to build a registration form?
Where will all the person’s registration info go when they click on Submit?
(that’s what the link is for)
Put the action attribute in the form tag.

aha! :slight_smile:
How can i build my own link if i want to create my own registration form then?

That information will be imparted when you learn how to work on the backend programming. (This is just the from-end part of web development).

1 Like

Hi,
I’m on this step and entered the following:

But it won’t let me progress. The hint I get is: " You should give the form an action attribute."

The code I entered looks OK - any ideas what’s wrong with it?

please click on Ask for Help button to open a topic with your code and your question