Skip to content

This is a project from The Odin Project, where I am tasked with created a signup page using vanilla HTML, CSS and JavaScript.

Notifications You must be signed in to change notification settings

awidener3/odin-signup-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Odin Signup

Description

This project comes from The Odin Project Intermediate HTML and CSS section. In this project, I am tasked with creating a signup page using HTML and CSS with some JavaScript logic for validation.

I chose to do all of this project without frameworks or libraries (other than fontawesome) to take a break from tech like bootstrap or tailwind, and see if I could do it myself.

The "trick" I learned about and will absolutely take with me moving forward is utilizing the :root CSS selector to differentiate between light mode and dark mode. I chose to use the value stored in prefers-color-scheme rather than make a toggle-able button, although I have since used the toggle in other projects. Example of prefers-color-scheme below:

:root {
  --background: #fff;
  --text-primary: #242424;
  /* other "light-mode" styles */
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #2c2c2c;
    --text-primary: #fff;
  }
}

Preview

signup page

validation example

About

This is a project from The Odin Project, where I am tasked with created a signup page using vanilla HTML, CSS and JavaScript.

Topics

Resources

Stars

Watchers

Forks