چالش Frontend Mentor با Laravel
Frontend Mentor Challenge with Laravel
In this series, we take a Frontend Mentor challenge and build it using Laravel and Tailwind CSS. Rather than chasing pixel-perfect replication, the focus is on pragmatic Laravel and backend logic. Along the way, we explore carts, session state, semantic markup, and UI polish.
قسمتهای دوره
Kickoff & Foundations (3)
شروع کار و فایلهای چالش
4m 1sReview the Frontend Mentor brief, unpack design assets, and plan a clean, maintainable Laravel build for cart and order flow.
Laravel جدید
8m 11sStart a new Laravel project from scratch, set up your dev environment, explore defaults, and trim the clutter for a clean foundation.
تبدیل راهنمای سبک به Tailwind
9m 38sConvert a style guide into Tailwind utilities—map colors, spacing, and type for a cohesive UI and less custom CSS in every component.
Products & Layout (5)
مدل محصول و مهاجرت
5m 36sCreate a Laravel Product model and migration, design the schema, choose fields, and connect real product data to your UI from day one.
تولید داده
7m 40sSeed your database with realistic product data using Laravel seeders. Speed up development, reset state fast, and test reliably.
چیدمان و شبکه محصولات
12m 42sBuild a responsive page layout and product grid with semantic HTML and Tailwind CSS—create a clean UI foundation that scales across screens.
مارکآپ معنایی کامپوننت محصول
7m 21sRefactor product cards into reusable Blade components with semantic HTML and accessibility, keeping structure clean and data flow predictable.
استایلدهی محصول
10m 7sRefine product card styling with better spacing, hover states, and visual hierarchy to create a polished UI that feels intentional.
Cart Architecture (7)
رابط کاربری سبد خرید خالی
7m 18sDesign and build a polished empty cart UI that clearly guides users when no items are added, turning an edge case into great UX.
مدلهای سبد خرید و آیتم سبد خرید
8m 27sModel a shopping cart in Laravel with Cart and CartItem models, relationships, quantities, and totals—clean, flexible data modeling made easy.
سبدهای خرید مبتنی بر جلسه
6m 41sBuild a session-based shopping cart in Laravel—no user accounts needed. Learn how sessions work and keep cart features simple and reliable.
اطمینان از وجود سبد خرید
6m 54sAdd safeguards so a cart always exists—first item or returning session. Resolve a valid cart every time and keep controllers clean.
افزودن به سبد خرید
5m 27sBuild add-to-cart in Laravel: connect routes, controllers, and forms to update quantities, persist cart state, and sync UI instantly.
هرس کردن سبدهای خرید رها شده
6m 1sLearn how to prune abandoned carts in Laravel using a scheduled command to auto-delete stale data and keep your app clean.
تعداد کل سبد خرید
4m 4sLearn how to calculate and display total cart item quantity in your UI, giving users instant feedback and boosting cart usability.
Cart UI & Interactions (5)
رابط کاربری سبد خرید فعال
12m 8sBuild an active cart UI that stays clear as data changes—show items, quantities, totals, and a responsive layout for any cart size.
ادامه رابط کاربری سبد خرید
11m 59sRefine a shopping cart UI with better spacing, alignment, and structure—see how small iterative tweaks deliver polished, smoother UX.
رابط کاربری افزایش و کاهش
9m 1sAdd increment/decrement controls to a cart, connect them to backend actions, and handle edge cases for a smooth, reliable checkout.
قابلیت کاهش یا حذف
6m 3sRefine cart quantity logic: decrement to zero automatically deletes the item, keeping UI intent and backend data consistent and intuitive.
حذف کامل آیتم سبد خرید
3m 13sAdd a clear Remove button to your cart so users can delete items instantly—better UX than repeated decrements, with a big payoff.
Modals, Transitions & Order Flow (4)
پاپاور HTML
5m 12sLearn HTML Popover to build an order confirmation UI with native popovers—less JavaScript, better accessibility, and simpler interactions.
ترنزیشنهای ورود و خروج مودال
6m 37sAdd smooth modal enter/leave transitions with modern CSS to polish your confirmation popover—responsive, refined, and JS-free.
رابط کاربری تأیید سفارش
10m 26sBuild a polished order confirmation UI with icons, totals, and reusable components, plus clean markup and a layout that scales smoothly.
پاکسازی سبد خرید
8m 28sLearn how to add a backend endpoint to clear cart items, reset UI state, and prevent subtle bugs when users start a new order.
Polish & Responsiveness (2)
بررسی طراحی واکنشگرا
7m 42sTest your layout on every screen size and edge case. Fix spacing, scaling, and scrolling for a smooth, reliable responsive experience.
حالتهاور
6m 22sPolish your UI with hover and focus states—refine buttons, icons, and borders for clear feedback and a cohesive, finished design.




