Skip to main content Accessibility Feedback

Who should drive? How to create a vanilla JS web app.

Last week, my buddy Dominic Magnifico tweeted about Vue Should Drive, a fun little web app for picking a driver that he built in about 20 minutes using Vue.js.

I thought it would be fun to try to recreate it in vanilla JavaScript, and set a goal for doing it 20 minutes or less.

I was able to get the functionality recreated in about 15 minutes, and spent my extra 5 minutes bolting in some nice extras like keeping the list of names persistent after reloading the page using localStorage. My version is incredibly ugly—Domenic is a much better designer than I am—but it’s functional and works without any dependencies.