Learn HTML Forms by Building a Registration Form - Step 11

**Tell us what’s happening:
Describe your issue in detail here.
:pray: How can I make a form element adjacent a p element?
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />

<!-- User Editable Region -->

    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>
      <a href="Please fill out this form with the required information">

<!-- User Editable Region -->

/* 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/ Safari/537.36 Edg/114.0.1823.43

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

Link to the challenge:

The instructions ask you to:

insert a form with an action attribute targeting https://register-demo.freecodecamp.org .

This is not quite correct. You should have a form element (not formaction).
Inside the opening tag of the form element you should have an action attribute with the value https://register-demo.freecodecamp.org.
You don’t need an anchor element or anthying else additional at this stage.

1 Like

Thank you but I have changed it from formaction to form element, yet it still shows" You should give the action a value of https://register-demo.freecodecamp.org". What should I do?

Can you share the updated code please? Just the section which contains the form element.


Never mind about it anymore. It worked, it was just a mistake that I made, but I have it sorted out. Thank you for taking time to answer me. :smile: :smile: :smile:

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