A quiz app built with React that pulls trivia from the Open Trivia DB API. The design is from Scrimba.com, but I coded the app from scratch (for the most part).
What probably caused the most head scratching was figuring out what needed to be stored in state. I kept going back and forth adding more and more state and then removing it until I finally ended up with what I felt was truly necessary. Another funny little bug had to do with something called HTML entities. These guys 👉🏽 & >
As much as I wanted to write everything from scratch sometimes it just makes the most sense to bring in some 3rd party code. Whether it's to deal with rabbit hole inducing edge cases like HTML entities or something fun like confetti. 🥳