odin-codespace/library/index.html
Smig 7a40d907d9
Library (#6)
* feat: initial commit

* feat: initial javascript complete

* feat: modal added

* feat: logic completed.

* feat: modal base styling complete

* feat: more styling

* feat: styling complete
2023-11-22 11:32:12 -05:00

53 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<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=Roboto:ital,wght@0,500;0,700;0,900;1,500;1,700;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<title>Anonymous Library</title>
</head>
<body>
<div class="container">
<nav class="navbar">
<h1 class="header">Anonymous Library</h1>
<button class="show-modal btn">Add Book</button>
</nav>
<div class="content">
<div class="book-cards">
</div>
</div>
<footer>
<div class="contact"></div>
<div class="icons"></div>
</footer>
</div>
<dialog class="modal">
<div class="form-header">
<h1 class="form-header">Add New Book</h1>
<button class="close-btn">
<span class="material-symbols-outlined">close</span>
</button>
</div>
<form action="dialog" class="form">
<input type="text" name="title" id="title" placeholder="Book title"
required>
<input type="text" name="author" id="author" placeholder="Author"
required>
<div class="form-item">
<label for="checkbox">Have you read the book?</label>
<input type="checkbox" id="read-button">
</div>
<button type="submit" id="submit-btn" class="btn">Submit</button>
</form>
</dialog>
<script src="js/script.js"></script>
</body>
</html>