My latest lab experiment is a little Lunch Picker coded in vanilla JavaScript. The idea was to create a simple, lightweight app which accepts user input and implements a State Based UI pattern. It re-renders the UI every time the data changes state, similar to the way React.js and Vue.js would but without the weight of any frameworks.

I was inspired by a great tutorial from Chris Ferdinandi which I implemented with my own twist.

Give it a whirl, view source if you’re interested, and get some help making that all-important call on what to have for lunch today!