Skip to content
Submitted 19 days ago

Poll-creator-app

P
LVL 3
@Iyanu22
A solution to the Poll creator app challenge

Solution retrospective


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

I'm proud that I'm able to build a pool product: Tiebreak, a full-stack build comprising of real creator accounts, a Postgres database, public no-account vote pages, and a poll state machine enforced on the server. Here, a creator makes a poll under a minute and lands on a share step built around getting the link into the chat. Voters tap through on their phones, pick a name and a face, and vote. They can suggest options, which the creator adds or declines. Results update live, and closing ends in a reveal designed to be screenshotted back into the chat.

What challenges did you encounter, and how did you overcome them?

I faced the problem of closing a poll where the poll has to communicate the result, credit the crew, survive being cropped into a group-chat screenshot, and still work for a tie and with motion turned off. I solved the problem by allowing the winner ticks light up one by one, the name stamps in, the ribbon drops and a small butter burst follows, about 1.5 seconds in all. An inline script deciding before the first paint whether the device has seen the result yet, so there's no flash of the finished card. Reopening a poll and settling it again plays a fresh reveal.

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

Better ways of making the app more optimized, scalable, ensuring real time communication

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Iyanuoluwa Olajide’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