Notes
Notes - notes.io |
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Community Book Exchange</title>
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<header>
<nav class="navbar">
<h1 class="logo">📚 Community Book Exchange</h1>
<ul class="nav-links">
<li><a href="index.html" class="active">Home</a></li>
<li><a href="books.html">Books</a></li>
<li><a href="addbook.html">Add Book</a></li>
<li><a href="about.html">About</a></li>
<li><a href="login.html">Login</a></li>
</ul>
</nav>
</header>
<div class="content">
<section class="hero">
<h2>Share Stories, Swap Books, Connect People</h2>
<p>Join your community of book lovers — give a book, take a book, and make new friends along the way!</p>
<a href="register.html" class="btn">Join Now</a>
</section>
</div>
<footer>
<p>© 2025 Community Book Exchange | Created by Shabnam</p>
</footer>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Books | Community Book Exchange</title>
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<header>
<nav class="navbar">
<h1 class="logo">📚 Community Book Exchange</h1>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="books.html" class="active">Books</a></li>
<li><a href="addbook.html">Add Book</a></li>
<li><a href="about.html">About</a></li>
<li><a href="login.html">Login</a></li>
</ul>
</nav>
</header>
<section class="books-section">
<h2>Available Books</h2>
<div class="books-grid">
<div class="book-card">
<img src="assets/images/book1.jpg" alt="Book 1">
<h3>The Alchemist</h3>
<p>by Paulo Coelho</p>
<button class="btn">Exchange</button>
</div>
<div class="book-card">
<img src="assets/images/book2.jpg" alt="Book 2">
<h3>Atomic Habits</h3>
<p>by James Clear</p>
<button class="btn">Exchange</button>
</div>
<div class="book-card">
<img src="assets/images/book3.jpg" alt="Book 3">
<h3>1984</h3>
<p>by George Orwell</p>
<button class="btn">Exchange</button>
</div>
<div class="book-card">
<img src="assets/images/book4.jpg" alt="Book 4">
<h3>Pride and Prejudice</h3>
<p>by Jane Austen</p>
<button class="btn">Exchange</button>
</div>
</div>
</section>
<footer>
<p>© 2025 Community Book Exchange | Created by Shabnam</p>
</footer>
</body>
</html>
/* ----- GLOBAL STYLES ----- */
html, body {
height: 100%;
margin: 0;
font-family: "Poppins", sans-serif;
background-color: #f8f9fa;
color: #333;
}
body {
display: flex;
flex-direction: column;
}
/* ----- NAVBAR ----- */
header {
background-color: #3a6ea5;
padding: 15px 0;
box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* subtle shadow */
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
width: 90%;
margin: auto;
color: #fff;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links a {
text-decoration: none;
color: white;
font-weight: 500;
transition: 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
text-decoration: underline;
}
/* ----- HERO SECTION ----- */
.content {
flex: 1; /* push footer down */
}
.hero {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
min-height: 70vh;
padding: 20px;
margin-top: 50px; /* gap from navbar */
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
url("../images/books-bg.jpg") center/cover no-repeat;
color: #fff;
border-radius: 10px; /* optional subtle rounding */
}
.hero h2 {
font-size: 2.5em;
margin-bottom: 15px;
}
.hero p {
font-size: 1.1em;
max-width: 600px;
margin: 0 auto 25px;
}
.btn {
background-color: #f4a261;
padding: 12px 28px;
border-radius: 8px;
color: white;
font-weight: bold;
text-decoration: none;
transition: 0.3s;
}
.btn:hover {
background-color: #e76f51;
}
/* ----- FOOTER ----- */
footer {
text-align: center;
padding: 20px;
background-color: #3a6ea5;
color: white;
margin-top: 40px;
}
/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
text-align: center;
}
.nav-links {
flex-direction: column;
gap: 10px;
padding: 10px 0;
}
.hero h2 {
font-size: 1.8em;
}
.hero p {
font-size: 1em;
padding: 0 10px;
}
}
@media (max-width: 480px) {
.hero {
padding: 60px 10px;
margin-top: 40px;
}
.btn {
padding: 8px 18px;
font-size: 0.9em;
}
.logo {
font-size: 1.2em;
}
}
/* ----- BOOKS PAGE STYLING ----- */
.books-section {
text-align: center;
padding: 60px 20px;
}
.books-section h2 {
font-size: 2em;
margin-bottom: 30px;
color: #3a6ea5;
}
.books-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 25px;
width: 90%;
margin: auto;
}
.book-card {
background-color: white;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
padding: 20px;
transition: transform 0.3s;
}
.book-card:hover {
transform: translateY(-5px);
}
.book-card img {
width: 100%;
height: 280px;
object-fit: cover;
border-radius: 10px;
}
.book-card h3 {
margin: 15px 0 5px;
color: #333;
}
.book-card p {
margin-bottom: 10px;
color: #555;
}
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team
