Build a Memory Game in React Tutorial
Create an accessible, interactive representation crippled utilizing React. This people takes you done building a polished task while exploring really to fetch data, negociate state, and instrumentality champion practices for inclusivity and functionality. ✏️ Study this people interactively connected Scrimba: https://scrimba.com/memory-game-in-react-c0a3odsk39?utm_source=youtube&utm_medium=video&utm_campaign=fcc-memory-game-launch Code is disposable connected the Scrimba people page for each lesson. Discover really to build a afloat interactive representation crippled successful React, designed to heighten your improvement skills and pinch a attraction connected accessibility. This people guides you done each step, from fetching and managing API information to designing reusable components and implementing personification interactions. You’ll activity connected challenges specified arsenic randomizing crippled elements, detecting matches, and handling errors. Along the way, you'll summation applicable acquisition successful solving communal improvement problems. Accessibility is simply a cardinal attraction of the project, pinch elaborate guidance connected ARIA attributes, semantic HTML, and designing for inclusivity. This people is perfect for anyone looking to deepen their React knowledge while moving connected a meaningful, real-world project. By the end, you’ll person an accessible, polished representation crippled that demonstrates your skills and committedness to building user-friendly applications. Scrimba connected YouTube: https://www.youtube.com/c/Scrimba Timestamps: Building the Foundation 0:00:00 - Intro 0:06:00 - Boilerplate code 0:11:53 - Fetch information from API 0:17:18 - Store API information successful state 0:21:19 - Aside: HTML entities 0:26:08 - Render representation cards pinch API data 0:30:45 - Issue pinch emojisData 0:33:29 - Get random emojis pt. 1 0:43:32 - Get random emojis pt. 2 0:49:32 - Duplicate and shuffle emojis Core Game Functionality 0:55:10 - Side note: Address early discrepancies 0:58:59 - Select a representation paper pt. 1 1:05:22 - Select a representation paper pt. 2 1:10:37 - Select a representation paper pt. 3 1:20:16 - Detect matching cards 1:28:50 - Are each representation cards matched? 1:34:11 - Create EmojiButton component 1:42:58 - Identify selected & matched cards successful MemoryCard 1:48:38 - Conditional representation paper content 1:54:44 - Conditional representation paper styling Accessibility Enhancements 2:04:33 - Disabled property & conditional arena handler 2:12:01 - Aside: aria-label & aria-live 2:21:50 - Add aria-label to EmojiButton 2:31:00 - Side note: Renamed authorities variable 2:32:32 - Create AssistiveTechInfo component 2:41:29 - Aside: aria-atomic 2:47:52 - Make AssistiveTechInfo constituent accessible 2:50:46 - Create GameOver component 2:54:05 - Add fastener to GameOver component 3:02:07 - Accessibility rumor successful GameOver component 3:03:45 - Aside: Focus arsenic an accessibility tool 3:14:14 - Make GameOver constituent accessible Advanced Features 3:18:11 - Identify correction handling issue 3:21:10 - Handle errors pinch useState 3:26:52 - Create and render ErrorCard component 3:34:24 - Refactor App to usage formData 3:42:18 - Create shape elements 4:00:19 - Save shape selections successful state 3:57:44 - Refactor shape pt. 1 4:05:15 - Refactor shape pt. 2 4:12:13 - Improve accessibility of Form component 4:20:50 - Outro