Private Repository: https://classroom.github.com/a/nVZrg5R9
Alternative Private Repository: https://classroom.github.com/a/KCGI14ST
Alternative Private Repository: https://classroom.github.com/a/JMuIYqgK
- Get 🌴All Plants
https://openapi.programming-hero.com/api/plants- Get 🌴All categories
https://openapi.programming-hero.com/api/categories- Get 🌴plants by categories
https://openapi.programming-hero.com/api/category/${id}https://openapi.programming-hero.com/api/category/1- Get 🌴Plants Detail
https://openapi.programming-hero.com/api/plant/${id}https://openapi.programming-hero.com/api/plant/1- Website logo/name on the left
- Menu items in the center
- Plant a Tree button on the right
- A background image
- A title and subtitle
- A centered button
- Section heading
- Image on the left, text on the right
- Show 3 cards with campaign statistics
- Form: Name, Email, Number of Trees
- Footer with copyright info
- Website must be mobile responsive
-
Category Loading Load Tree Categories dynamically on the left side.
-
Category Click → Tree Data On clicking a category: load trees of that category.
Display in a 3-column card layout.
-
Card Contents Each card includes:
- Image - Name - Short description - Category - Price - Add to Cart button -
Modal on Card Click Clicking a tree name on a card opens a modal with full tree details.
1) Add to Cart
Clicking Add to Cart: - Adds the tree to Cart List
- Shows tree name
2) Total Calculation
Calculate total price of trees in cart.
3) Remove from Cart
Clicking ❌ removes tree and deducts price from total.
4) Loading Spinner
Show spinner while data is loading.
5) Active Button State
Highlight active category button when selected.
🧰 Technology Stack:
HTML
CSS (Vanilla / Tailwind / DaisyUI)
JavaScript (Vanilla only, no frameworks)
📌 Rules ✅ At least 5 meaningful commits
❌ No dummy text or Lorem Ipsum — must use relevant content
- Live Link : YOUR_DEPLOYED_URL_HERE
- GitHub Private Repository: YOUR_REPO_URL_HERE