
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 11-lesson course built from Web Dev Simplified's 1h 45m of YouTube video. 1 day at 90 minutes a day, with study notes and a quiz in every lesson. A 2-minute placement test skips what you already know.
Taught by Web Dev Simplified on YouTube. Videos play in YouTube's own player, so the creator keeps every view.
Initialize a React project using Vite with TypeScript, configure Tailwind CSS for styling, and understand the basic project structure.
Build a reusable Header component using semantic HTML, Flexbox layout, and Tailwind utility classes for responsive design.
Implement button variants (primary, secondary, destructive) using a type-safe switch, spread native HTML props with `ComponentPropsWithoutRef`, and merge Tailwind classes with `twMerge` to handle style precedence.
Define a Habit type with completions, build HabitItem to display habit name, streak, and date buttons that reflect completion state via conditional rendering.
Use `useState` to control the form input value and manage the global habits array; learn immutable update patterns (spread operator, filter, map) for adding and deleting habits.
Create a React Context (`HabitContext`) and a `HabitProvider` component to wrap the app, exposing state and functions to any descendant via `useContext`.
Learn the Rules of Hooks (top-level, unconditional, `use` prefix), then create a generic `useLocalStorage` hook that lazily reads from `localStorage` on mount and returns a `[storedValue, setStoredValue]` tuple.