A subscriber sent me a junior react interview challenge, let's solve it

Channel:
Subscribers:
261,000
Published on ● Video Link: https://www.youtube.com/watch?v=XTgB4esy1is



Duration: 31:47
46,408 views
1,184


00:00 - Introduction
01:23 - Building the Component and Passing Data
02:25 - Displaying Buttons for Each Country and Capital
03:51 - Randomizing the Array
05:11 - Setting Button Background Color to Blue
08:07 - Removing Buttons on Wrong Pair Selection
11:59 - Resetting Background Color and Buttons on Wrong Selection
16:45 - Checking if Game is Over
21:55 - Exporting the Component
26:33 - Refactoring and Code Cleanup
31:35 - Summary and Conclusion

πŸ“˜ T3 Stack Tutorial: https://1017897100294.gumroad.com/l/jipjfm
πŸ€– SaaS I'm Building: https://www.icongeneratorai.com/
βœ‚οΈ Background Cutter: https://www.backgroundcutter.com/

πŸ’¬ Discord: https://discord.gg/4kGbBaa
πŸ”” Newsletter: https://newsletter.webdevcody.com/
πŸ“ GitHub: https://github.com/webdevcody
πŸ“Ί Twitch: https://www.twitch.tv/webdevcody
πŸ€– Website: https://webdevcody.com
🐦 Twitter: https://twitter.com/webdevcody







Tags:
web development
programming
coding
code
learn to code
tutorial
software engineering