EgbieAndersonUku1 / Fullstack-fruit-and-veg

Fullstack Fruit & Veg Shop: A web application developed with HTML, CSS, and JavaScript for the frontend, and Django for the backend. Features include user authentication, a product catalogue, shopping cart functionality, and order management. and much more
https://fullstack-fruit-and-veg.vercel.app
0 stars 0 forks source link

**Feat**: Add functionality to allow a user to like a post #61

Closed EgbieAndersonUku1 closed 2 weeks ago

EgbieAndersonUku1 commented 2 weeks ago

Implemented functionality enabling users to like a post, including the necessary CSS, HTML, and JavaScript. Upon navigating to the blogs_detail.html page, users can click the thumbs up icon to like the post. Currently, users can like the post multiple times, incrementing the like counter. However, once the backend feature is implemented, users will only be able to like the post once and they must be logged in to do so. Most of the JavaScript was added to blog.js, but a distanceUtils.js file was also created inside the js utils folder to assist with the like functionality.

  1. No login is required.
  2. Navigate to the blog section via the navigation bar.
  3. Click on any card to go to the blog's detail page.
  4. Scroll to the section displaying the thumbs-up icon and click it.
  5. The like counter will increase upon clicking.
vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **fullstack-fruit-and-veg** | ⬜️ Ignored ([Inspect](https://vercel.com/egbies-projects/fullstack-fruit-and-veg/CGh32c1yRQiEeY7mvyFRrrQ3BVzi)) | | | Nov 10, 2024 8:43am |