Skip to content
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
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Xings book library #42

wants to merge 11 commits into from

Conversation

xingyin2024
Copy link

Netlify link

https://xingsbooklibrary.netlify.app

Collaborators

solo

Copy link
Contributor

@HIPPIEKICK HIPPIEKICK left a comment

Choose a reason for hiding this comment

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

Great job on your project! Nice to see you played around with different features, like the favourite and the toggle 🥳

HTML/CSS

  • Great use of CSS variables!
  • Straight-forward HTML structure! Just remember that the nav element is used for navigation. Maybe a header element would make more sense?

JavaScript

  • The getBooks function is well-defined and reusable - good job!
  • Nice addition with the favourites and the reset button.
  • However - the search bar is not connected to anything in the script? Remove unused code.
  • Nice usage of the switch method!

Clean Code

  • Good that you removed the files you're not using 👍
  • Remember to be consistent with whether or not you're using semicolons! Don't mix!

Good job Xing, keep it up ⭐

Comment on lines +31 to +32
<!-- Search input -->
<input type="text" id="searchInput" placeholder="Search by title...">
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?

Comment on lines +37 to +44
<!-- 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>
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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants