|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>Sign Up - Book Reading Streak Tracker</title> |
|
<style> |
|
body { |
|
font-family: 'Helvetica Neue', Arial, sans-serif; |
|
text-align: center; |
|
margin: 0; |
|
padding: 0; |
|
background: url('https://source.unsplash.com/1920x1080/?book') no-repeat center center fixed; |
|
background-size: cover; |
|
color: white; |
|
} |
|
header { |
|
background-color: rgba(0, 0, 0, 0.7); |
|
padding: 10px 20px; |
|
position: fixed; |
|
width: 100%; |
|
top: 0; |
|
z-index: 1000; |
|
} |
|
#container { |
|
background: rgba(255, 255, 255, 0.7); |
|
padding: 20px; |
|
border-radius: 10px; |
|
margin-top: 60px; |
|
} |
|
h1 { |
|
color: #333; |
|
} |
|
form { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
label { |
|
color: #333; |
|
font-size: 18px; |
|
margin-top: 10px; |
|
} |
|
input { |
|
padding: 10px; |
|
margin: 5px; |
|
width: 100%; |
|
box-sizing: border-box; |
|
} |
|
button { |
|
padding: 10px 20px; |
|
font-size: 16px; |
|
cursor: pointer; |
|
margin: 10px; |
|
background-color: #007bff; |
|
color: #fff; |
|
border: none; |
|
border-radius: 5px; |
|
width: 100%; |
|
} |
|
|
|
div.scrollmenu { |
|
background-color: #333; |
|
overflow: auto; |
|
white-space: nowrap; |
|
} |
|
|
|
div.scrollmenu a { |
|
display: inline-block; |
|
color: white; |
|
text-align: center; |
|
padding: 14px; |
|
text-decoration: none; |
|
} |
|
|
|
div.scrollmenu a:hover { |
|
background-color: #777; |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
|
|
|
|
<div class="scrollmenu"> |
|
<a href="index.html">Home</a> |
|
<a href="signup.html">Sign Up</a> |
|
<a href="signup.html">Sign In</a> |
|
<a href="#about">About</a> |
|
<a href="#support">Support</a> |
|
</div> |
|
|
|
<div id="container"> |
|
<h1>Sign Up</h1> |
|
<form> |
|
<label for="username">Username:</label> |
|
<input type="text" id="username" name="username" required> |
|
|
|
<label for="password">Password:</label> |
|
<input type="password" id="password" name="password" required> |
|
|
|
<a type="submit" onclick="showNotification()" href="signedin.html">Sign Up</a> |
|
</form> |
|
</div> |
|
|
|
<div class="notification-bar"> |
|
This website uses cookies to save your reading streak data. By using this site, you agree to our use of cookies. |
|
</div> |
|
|
|
<script> |
|
|
|
function showNotification() { |
|
document.querySelector('.notification-bar').style.display = 'block'; |
|
setTimeout(function() { |
|
document.querySelector('.notification-bar').style.display = 'none'; |
|
}, 5000); |
|
} |
|
|
|
|
|
function toggleMenu() { |
|
const menuOptions = document.querySelector('.menu-options'); |
|
menuOptions.style.transform = menuOptions.style.transform === 'translateY(0)' ? 'translateY(-100%)' : 'translateY(0)'; |
|
} |
|
</script> |
|
|
|
</body> |
|
</html> |
|
|