mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-05-10 04:05:22 -04:00
Feat signup form (#3)
* initial commit * feat: add html skeleton * feat: added div for forms * feat: add more styling * feat: more styling * feat: fixed form field alignment * feat: format layout and shiz * feat: add logo + transparent box * feat: add color scheme * feat: add h1 tags * feat: remove placeholders/add text colors * feat: basic mobile layout * feat: add javascript * feat: added javascript error validation * feat: buttons/links completed
This commit is contained in:
parent
9f764ac71f
commit
a47a2cec30
5 changed files with 275 additions and 0 deletions
54
signup_form/index.html
Normal file
54
signup_form/index.html
Normal file
|
@ -0,0 +1,54 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Sign up! | Smig.Tech™</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,900&display=swap" rel="stylesheet">
|
||||
<link href="css/style.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="sidebar">
|
||||
<div class="logo logo-text">
|
||||
<img src="static/logo.png" alt="" srcset="">
|
||||
<h1>Smig.Tech</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form">
|
||||
<h1 class="call-to-action">Sign up today!</h1>
|
||||
<form action="post" method="#">
|
||||
<div class="form-input">
|
||||
<label for="name">NAME</label>
|
||||
<input type="text" name="name" id="name"required>
|
||||
</div>
|
||||
<div class="form-input">
|
||||
<label for="email">EMAIL</label>
|
||||
<input type="email" name="email" id="email" required>
|
||||
</div>
|
||||
<div class="form-input">
|
||||
<label for="password">PASSWORD</label>
|
||||
<input type="password" name="password" id="password" required minlength="8">
|
||||
<div class="error"></div>
|
||||
</div>
|
||||
<div class="form-input">
|
||||
<label for="password-confirmation">CONFIRM PASSWORD</label>
|
||||
<input type="password" name="password-confirmation" id="password-confirmation" required
|
||||
minlength="8">
|
||||
<div class="error"></div>
|
||||
</div>
|
||||
<div class="form-button">
|
||||
<button type="#">Create Account</button>
|
||||
<p>Already have an account? <a href="#">Log in</a></p>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script src="js/script.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue