Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Built Responsive Hangman Game Using React.js and TailwindCSS

react, tailwind-css
Tayo Akosile•40
@Tayoakosile
A solution to the Hangman game challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

What am I most proud of?

It will be how I broke down the problem (Hangman games and its rules), and came up with an algorithm using common Javascript Concepts.

What would you do differently next time

Emm, Let's sayI will use redux for the app's state management, which might be an overkill.

What challenges did you encounter, and how did you overcome them?
  • State Management: The default React way of managing states was unsuitable for this, I will have to drill in props from the Parent to deep Child Components so I made use of the React Context API.

  • Implementing the Logic of the Game: At first, I found it hard to interpret the logic into code, I ran into bugs and some unexpected behaviour on the browser while testing.

How did I overcome it?

I took a break; had a cold shower, strolled out, did everything else from coding for half a day and came back during the night to review the code structure.

What specific areas of your project would you like help with?

All Areas, Hit me up if you encounter any difficulties.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Tayo Akosile's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub