mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-07-14 05:10:37 -04:00
feat: modal added
This commit is contained in:
parent
ba35554e0e
commit
104849154f
3 changed files with 66 additions and 27 deletions
|
@ -4,6 +4,8 @@
|
|||
<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="stylesheet" href="css/style.css">
|
||||
<title>Anonymous Library</title>
|
||||
</head>
|
||||
|
@ -12,29 +14,31 @@
|
|||
<div class="container">
|
||||
<nav class="navbar">
|
||||
<h1 class="header">Anonymous BookClub</h1>
|
||||
<ul>
|
||||
<li>Add Book</li>
|
||||
</ul>
|
||||
<button class="show-modal btn">Add Book</button>
|
||||
</nav>
|
||||
<div class="content">
|
||||
<div class="form">
|
||||
<form action="" >
|
||||
<input type="text" name="title" id="title">
|
||||
<input type="text" name="author" id="author">
|
||||
<button type="submit" id="btn">Submit</button>
|
||||
</form>
|
||||
<div class="book-cards">
|
||||
</div>
|
||||
|
||||
<div class="book-cards">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<footer>
|
||||
<div class="contact"></div>
|
||||
<div class="icons"></div>
|
||||
</footer>
|
||||
</div>
|
||||
<dialog class="modal">
|
||||
<main>
|
||||
<div class="form">
|
||||
<form action="" >
|
||||
<input type="text" name="title" id="title">
|
||||
<input type="text" name="author" id="author">
|
||||
<button type="submit" id="submit-btn" class="btn">Submit</button>
|
||||
</form>
|
||||
<button class="btn close-btn">
|
||||
<span class="material-symbols-outlined">close</span>
|
||||
</button>
|
||||
</div>
|
||||
</main>
|
||||
</dialog>
|
||||
<script src="js/script.js"></script>
|
||||
</body>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue