Learn HTML Forms by Building a Registration Form - Step 12

So actually my code passes as long as write <form action='https://register-demo.freecodecamp.org' method="POST"></form> i wanted to know what is method used for what what is the difference between post and get so let me know pls
Describe your issue in detail here.

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' method=""></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 OPR/100.0.0.0

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

Link to the challenge:

There are different types of requests which can be made to a server, including GET, PUT, POST and DELETE. A GET request is used to retrieve information, whilst POST is used to send information (e.g. from a form filled in by a user).

More information here:

All of this will be well-covered in later FCC courses, when you get to dealing with backend development.

ohh ok i understood and i will make sure to see that link appreciate it man

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