Register a new user and add them your database

In order to register new users, you will need to take the information they have inputted in register.html form and create a new User object with email, name and password to save into the users.db.

Once the user is registered, send them straight to the secrets.html page.

At this point, you should see a new entry in the database that corresponds to the data entered in the form:

SOLUTION


Greet the user on the Secrets page

The secrets.html page should say "Hello <insert name>" in the h1. The name should correspond to the name they typed in the registration form.

This is what you are aiming for:

SOLUTION


Don't worry about downloading the file just yet. We'll do that in the next lesson!