Skip to content

emarekica/github-login-remake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Login Page remake


This is an exercise in remaking a login page for GitHub, in both light and dark mode. It also contains a few other features listed below.




Technologies:


  • HTML5

  • CSS3, SCSS

  • JavaScript


  • uses localStorage

  • additional script with sessionStorage version

  • CSS custom properties

  • prefers-color-scheme




Features


  • auto-detects OS theme preference

  • option for manually switching light/dark mode

  • client-side form validation

  • customizable error messages




Improvement ideas


[x] button for user to chande dark / light mode

[x] input validation

[ ] dynamically change favicon

[ ] implement SCSS




Mockup


UI mockup




Try it!


GitHub login page




Sources:


Articles:







Licence

MIT