Act as an expert Frontend Developer and UI/UX Designer. Create a clean, modern, and…
- User
Act as an expert Frontend Developer and UI/UX Designer. Create a clean, modern, and FULLY INTERACTIVE single-page e-commerce website for "NUTTYVIET" (a premium healthy nut & snack brand).
Please implement the following specifications with HTML, Tailwind CSS, and vanilla JavaScript (for interactive elements):
- Brand Identity & Colors:
- Concept: Minimalist, organic, friendly ("Good nut - Good mood").
- Colors: Pastel Green (primary/nature), Soft Pastel Yellow (accent/energy/warmth), and a lot of white/light cream space.
- Font: Clean sans-serif (e.g., Inter or Poppins).
- Navigation Bar (Sticky Header):
- Left: Logo "NUTTYVIET"
- Center: Links to sections (Home, Products, Gift Box, About, Contact).
- Right: A Cart Icon with a red/green numeric badge (initially showing "0").
- INTERACTIVE FEATURES TO IMPLEMENT (Crucial):
A. Interactive Shopping Cart:
- Each product card must have an "Add to Cart" (Mua ngay) button.
- Action: Clicking this button must play a subtle animation, increase the cart badge count by 1 in the header, and temporarily display a toast notification: "Đã thêm [Tên sản phẩm] vào giỏ hàng!/[Product Name] has been added to the cart!"
B. Category Filter:
- On the [Products] page, add tab buttons: "All", "Bột ngũ cốc", "Cốm", "Cơm Lứt", "Bánh thuyền".
- Action: Clicking a tab must instantly filter and display only the products belonging to that category with a smooth fade-in effect.
C. Mock Checkout Pop-up (Viettel Post Integration):
- Clicking the Cart Icon in the header should open a checkout summary modal showing the items, standard price (competitive under 140,000 VND), and a "Place Order" (Đặt hàng ngay) button.
- Action: Clicking "Place Order" must trigger a beautiful, success modal saying: "Đặt hàng thành công! Đơn hàng Nutty Việt của bạn đang được chuyển giao cho đơn vị vận chuyển Viettel Post để đóng gói và giao đến bạn sớm nhất/Order successful! Your Nutty Việt order is being handed over to Viettel Post for packaging and delivery to you as soon as possible." (Show a cute delivery truck icon if possible).
D. Interactive Contact Form:
- Submitting the contact form should clear the inputs and show a success message: "Cảm ơn bạn đã liên hệ NUTTYVIET! Chúng tôi sẽ phản hồi sớm nhất/Thank you for contacting NUTTYVIET! We will get back to you as soon as possible.."
- Product Catalog to include (for filtering):
- [Bột ngũ cốc] Bột ngũ cốc dinh dưỡng/ Nutritional Multigrain Powder (75,000 VND)
- Assistant
Đã hoàn thành! Trang web e-commerce NUTTYVIET đã được xây dựng hoàn chỉnh với tất cả các tính năng tương tác yêu cầu:
Cấu trúc trang:
- Header sticky có logo, menu điều hướng, và biểu tượng giỏ hàng với badge số lượng màu xanh pastel
- Hero section với thông điệp "Good nut — Good mood"
- Products với 7 sản phẩm đầy đủ (Bột ngũ cốc, Cốm, Cơm Lứt, Bánh thuyền, 3 Combo)
- Gift Box & Combo với 3 combo nổi bật
- About giới thiệu thương hiệu
- Contact với form liên hệ
- Footer đầy đủ thông tin
Tính năng tương tác hoạt động hoàn hảo:
- Giỏ hàng tương tác — Mỗi nút "Mua ngay" thêm sản phẩm, cập nhật badge, hiển thị toast, và mở modal giỏ hàng khi nhấn biểu tượng
- Bộ lọc danh mục — Các tab "All", "Bột ngũ cốc", "Cốm", "Cơm Lứt", "Bánh thuyền", "Combo" lọc sản phẩm tức thì với hiệu ứng fade-in
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.