Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# project-library
# project-library

https://xingsbooklibrary.netlify.app
Binary file added assets/facebook-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/github-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/instagram-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/search-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/twitter-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed books-images/harry-potter-and-the-sorcerer.jpg
Binary file not shown.
71 changes: 67 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,76 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Don't forget to change the title and connect the CSS file -->
<title>Project Library</title>
<link rel="stylesheet" href="./style.css">
<title>XingS Book Library</title>
<!-- Sole by Xing Yin *********** NETLIFT *********** https://xingsbooklibrary.netlify.app -->
</head>

<body>
<h1>Project Library</h1>
<!-- Don't forget to connect the JavaScript file -->
<header class="header">
<h1>Book Library</h1>
<nav class="nav">
<!-- Filter dropdown with radio buttons -->
<div class="sort-container" id="sortContainer"></div>

<!-- Dropdown for filtering by genre -->
<select id="dropdown">
<option value="all">All</option>
<option value="Adventure">Adventure</option>
<option value="Fiction">Fiction</option>
<option value="Science Fiction">Science Fiction</option>
<option value="Fantasy">Fantasy</option>
<option value="Horror">Horror</option>
<option value="Mystery">Mystery</option>
<option value="Dystopian">Dystopian</option>
</select>

<!-- Search input -->
<input type="text" id="searchInput" placeholder="Search by title...">
Comment on lines +31 to +32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem hooked up?


<!-- Reset Button to refresh the page -->
<button id="resetButton" class="reset-btn">Reset</button>

<!-- Hamburger menu for favorite books -->
<div class="hamburger-menu" onclick="toggleFavouriteMenu()">
<div class="bar1"></div>
<div class="bar2"></div>
</div>

<nav id="favourites" class="hidden">
<ul id="favouriteList">Choose your favorite books❤️</ul>
Comment on lines +37 to +44
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cute idea!

</nav>

</nav>
</header>

<!-- add book cards here from JS -->
<section id="container"></section>

<!-- Footer spans full width -->
<footer class="footer-container">
<div class="logo">
<a href="#" id="logo"><img src="assets/logo.png" alt="XingS Logo"></a>
</div>

<div class="footer-bottom">
<p>&copy; 2024 XingS Book Library. All rights reserved.</p>
</div>

<div class="social-media">
<a href="#"><img src="assets/facebook-icon.png" alt="Facebook"></a>
<a href="#"><img src="assets/twitter-icon.png" alt="Twitter"></a>
<a href="#"><img src="assets/instagram-icon.png" alt="Instagram"></a>
<a href="#"><img src="assets/github-icon.png" alt="GitHub"></a>
</div>


</footer>

<script src="./script.js"></script>
</body>

</html>
6 changes: 2 additions & 4 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
## Netlify link
Add your Netlify link here.
PS. Don't forget to add it in your readme as well.
https://xingsbooklibrary.netlify.app

## Collaborators
Add your collaborators here. Write their GitHub usernames in square brackets. If there's more than one, separate them with a comma, like this:
[github-username-1, github-username-2]
SOLO
Binary file removed recipe-images/baked-chicken.jpg
Binary file not shown.
Binary file removed recipe-images/cheat’s-cheesy-focaccia.jpg
Binary file not shown.
Binary file removed recipe-images/chicken-paprikash.jpg
Binary file not shown.
Binary file removed recipe-images/deep-fried-fish-bones.jpg
Binary file not shown.
Binary file removed recipe-images/fish-dish.jpg
Binary file not shown.
Binary file removed recipe-images/grilled.jpg
Binary file not shown.
Binary file removed recipe-images/individual-vegetarian-lasagnes.jpg
Binary file not shown.
Binary file removed recipe-images/meat.jpg
Binary file not shown.
Binary file removed recipe-images/vegetarian-shepherd's-pie.jpg
Binary file not shown.
Binary file removed recipe-images/vegetarian-stir-fried-garlic-s.jpg
Binary file not shown.
Loading