I am new to creating websites and need help in coding a website that will store user logins in a database when they sign up [closed]

I am new and don’t have idea how it will be done.

hello greetings,
I am trying to create a website that will allow visitors sign up and login later using their username/email and password will create a user and store in an sql table called users.so when they later choose to sign in, it will connect to a database and match the details and if matching a stored login will connect to their profile. more like how websites like sites like Facebook works ( when you login it goes to your page and not someone). I am completely new but bellow is my sign up page.

how do i connect the a database and allow them login next time. Thank you everyone.

I am completely new and learning

<!-- language: lang-html -->

    <!DOCTYPE html>
       <html lang="en">
       <head>
          <meta charset="UTF-8">
          <meta name="viewport" content="width=device-width, initial-scale=1.0">

          <!--=============== REMIXICONS ===============-->
          <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/remixicon/3.5.0/remixicon.css" crossorigin="">

          <!--=============== CSS ===============-->
          <link rel="stylesheet" href="assets/css/styles.css">

          <title>Learn Login an Sign up</title>
       </head>
       <body>
          <div class="login">
             <img src="assets/img/login-bg.png" alt="image" class="login__bg">

             <form action="" class="login__form">
                <h1 class="login__title">Register</h1>

                <div class="login__inputs">
                   <div class="login__box">
                      <input type="email" placeholder="Username" required class="login__input">
                      <i class="ri-mail-fill"></i>
                   </div>

                <div class="login__inputs">
                   <div class="login__box">
                      <input type="email" placeholder="Full Name" required class="login__input">
                      <i class="ri-mail-fill"></i>
                   </div>
                    
                <div class="login__inputs">
                   <div class="login__box">
                      <input type="email" placeholder="Email ID" required class="login__input">
                      <i class="ri-mail-fill"></i>
                   </div>
                   <div class="login__box">
                      <input type="password" placeholder="Password" required class="login__input">
                      <i class="ri-lock-2-fill"></i>
                   </div>
                    <div class="login__box">
                      <input type="password" placeholder="Confirm Password" required class="login__input">
                      <i class="ri-lock-2-fill"></i>
                   </div>
                </div>

                

                <button type="submit" class="login__button">Register</button>

                <div class="login__register">
                   Already have an account?  <a href="index.html">Login</a>
                </div>
             </form>
          </div>
       </body>
    </html>

<!-- end snippet -->

I am unable to create a database and connected to which will create a new user table for new registration and store details