-
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
base: main
Are you sure you want to change the base?
Conversation
… JS and button in html
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.
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 ⭐
<!-- Search input --> | ||
<input type="text" id="searchInput" placeholder="Search by title..."> |
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?
<!-- 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> |
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.
Cute idea!
Netlify link
https://xingsbooklibrary.netlify.app
Collaborators
solo