Our great sponsors
-
100-miles-in-100-days
Interactive grid to track your progress on the Badgerland Striders' 100 miles challenge.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Something I thought would be pretty cool is the ability to generate (and download) an image of one's progress. I've dabbled a bit with generating images with Java on the server side, but never in a client-side app. My searching led me to find dom-to-image, which has options for exporting to a JPEG, a PNG, or even a blob (not the killer kind; a "blob" is raw file data, which can be read or processed as you wish). Combined with another library to make saving files easier, exporting the image is done easily:
I thought to myself, Self, we should build an interactive version of this form. So I did. The final version is available here. It's written in React, the source is available on GitHub, and deployed automatically by Netlify.
Related posts
- I built a MacOS Clone!
- I built a MacOS Clone with TypeScript React and SASS! Live Demo and Repo in the comments (Merry Christmas :))
- Building a MacOS Clone in TypeScript React 🍏
- I made a library that allows you to consume Rest APIs through the React DOM.
- Mindows: a minimal Operating system in browser made using React