Internet Sunday Comics

My latest web project incorporating JQuery, AJAX, and CSS was inspired by my current project pending on FreeCodeCamp.

The activity requires building a random quote generator. I decided to put a little twist on it and generate a random web comic from XKCD. I decided to also add another web comic I was able to find that had a JSON interface that would allow pulls from my external website.

I researched and found another website doing a similar thing and was able to learn an alternative method to AJAX/JSON to get the data from a random page request, but it would have to use server-side processes, and my web hosting package doesn’t allow Node.js to be installed on my server. So, I made the best I could with the tools that I had.

I used CSS and Jquery to animate the refresh button on clicks, and slide up and fade in the images on refresh, as well as put in clickable Share links for Twitter and Tumblr.

Check it out at the link below.

Web Comic Generator