-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xings book library #42
Open
xingyin2024
wants to merge
11
commits into
Technigo:main
Choose a base branch
from
xingyin2024:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
77d5441
choice book topic, add basic css and js for each book with a card
xingyin2024 bd637cc
add dropdown button in html and att select favorite-books function in…
xingyin2024 df59be2
update style of text and button and add a footer with style
xingyin2024 7c187a1
uppdate text color and style
xingyin2024 bc7d7af
uppdate card style with shadow and outline
xingyin2024 edf6dd0
add a Grey Line Between the Title and Author
xingyin2024 111f159
add sort menu and function in html and js
xingyin2024 c17840f
uppdate the style of header
xingyin2024 29a2e8b
update style of header
xingyin2024 8e99cfe
dry js code and add a reset button
xingyin2024 8d42b1f
update link and read me
xingyin2024 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# project-library | ||
# project-library | ||
|
||
https://xingsbooklibrary.netlify.app |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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..."> | ||
|
||
<!-- 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
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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>© 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?