Added favorite feature with toggle and localStorage#47
Added favorite feature with toggle and localStorage#47IshikaBanga26 wants to merge 8 commits intoVarshitha713:masterfrom
Conversation
✅ Deploy Preview for first-contrib-placement ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| <<<<<<< HEAD | ||
| <a href="https://www.edx.org/">Visit codeforces</a> | ||
| <button class="fav-btn">☆</button> | ||
| </div> | ||
| <div class="card" data-id="resource-4" category="learning"> | ||
| ======= | ||
| <a href="https://codeforces.com/">Visit codeforces</a> | ||
| <p></p> | ||
|
|
||
| </div> | ||
| <div class="card" category="learning"> | ||
| >>>>>>> upstream/master | ||
| <h4>Learning Git: Git Immersion</h4> | ||
| <p>Git Immersion is a guided tour that helps you learn Git through hands-on labs and practical examples.</p> | ||
| <a href="https://gitimmersion.com" target="_blank">visit gitimmersion</a> | ||
| <button class="fav-btn">☆</button> | ||
| </div> | ||
| <<<<<<< HEAD | ||
|
|
||
| <div class="card" data-id="resource-5" category="coding"> | ||
| ======= | ||
| <div class="card" category="coding"> | ||
| >>>>>>> upstream/master | ||
| <h4>Coding Practice: Frontend Mentor</h4> |
There was a problem hiding this comment.
the merge conflict markers (<<<<<<<, =======, >>>>>>>) were committed by mistake. These need to be removed, and only the correct/combined content should be kept.
@IshikaBanga26
There was a problem hiding this comment.
I’ve removed all conflict markers from index.html.
Please let me know if there’s anything else I need to improve.
|
@IshikaBanga26 please check your PR it doesn't contain all the category filters!! |
|
Hi! @Varshitha713 , I initially added the favorite button to the existing cards, but it didn’t apply to new ones added later. I’ve now updated the code to make it dynamic — the button will automatically appear on all current and future cards. Let me know if anything else needs updating! |
Varshitha713
left a comment
There was a problem hiding this comment.
hey @IshikaBanga26 there are many changes to be done for the PR you made it doesn't contain all the updates made to the main (check the deployment)...so wait for a day and then you can work on it after i merge a home page PR!!
Implemented a favorite button for resource cards using localStorage. Added a toggle to filter and display only favorite items. All changes made inside HTML, CSS, and JavaScript files.