cxs7700's solutions
Clean solution - React, SCSS, BEM (but not optimized for mobile!)
My React solution using two stacks. Wrapper component is main source of context. CSS could have been executed better with conditional rendering/styling. An optimization can be done using a queue instead of applying the O(N) operation of `.reverse()` when rendering the history.
React Solution
React solution that has some hacky elements to it, or things that React maintainers would advise/encourage against. This actually took me 5-6 hours to get down perfectly. Midway, I figured this would be a lot easier if done using Vanilla JS because I ended up using some DOM APIs anyway.
Simple React modal overlay
Simple React solution
Simple solution w/ React
Minimal CSS & nothing fancy.
Vanilla JavaScript
Used a forEach() loop
React + HTML + CSS
Countdown Timer built using React, HTML, CSS, and hooks.
React + SCSS (no transition/animation)
FAQ Component using React template, SCSS, useState(). Adding a transition/animation is a bit tricky with my implementation so I didn't do try much, but I assume if my click handler instead changed height and visibility of the answer, then I could add a transition. I'm lazy right now though