Hi all,
I’m at the beginning of the HTML project and am confused on an early part. When I get to the “form method” part, I believe I’m supposed to then provide an action with a web url.
So two questions:
Am I correct in thinking that a url needs to go in here? Past example looked like this:
<form method="post" action='https://register-demo.freecodecamp.org'>
Do I need to create a custom URL for this? Where do I get the URL?
Below is my current code for this part.
<body>
<h1>Survey Form</h1>
<p>Please fill out all required sections marked with an *</p>
<form method="post">
Thanks in advance!
You actually don’t need a method or action attribute for the survey form project because you are not building a functioning form.
The goal of the project is to only focus on HTML and CSS.
Only what is mentioned in the user stories is required for the project.
Hope that helps
That is helpful! So what should I put in for the action? will the test pass if I run it while blank?
You can just leave out those two attributes completely.
The only required attribute is the id of survey-form inside the opening form tag
system
Closed
August 7, 2024, 11:12am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.