A Vaccine Fact Generator? Yes, Please!

So a friend of mine got the idea about creating a “fact generator” for vaccine facts. The idea was to click on a button on a website, have a random fact about vaccines appear, and then let people share that fact via Twitter. Recently, an online course for people learning Javascript led students through how to build a “random quote generator.” I figured I could take the code and modify it.

First, I had to find the right code. Luckily, I ran into a page by “Jay,” where he created a random quote generator. I contacted Jay via Twitter and asked for his permission to use his code, and he agreed. So I modified it a little here and there, and now we have the Vaccine Fact Generator.

It uses some HTML and some Javascript brought together by Paper CSS to create a web application where the user clicks on a button and a random fact appears. Then, as I wrote above, they can click on another button and send that fact to the Twitterverse.

There are still a couple of things I want to do before I can call it v1.0: First, I want the links in the fact box to be clickable, and, second, I want the ability to also share to Facebook. Actually, either of those would be good enough for me to call it v1.0. Until then, I’ll keep incrementally adding facts and tweaking some settings.

%d bloggers like this: