DEV Community

Cover image for Father's Day means Dad Jokes.
Chris Jarvis
Chris Jarvis

Posted on • Edited on

Father's Day means Dad Jokes.

This is a submission for Frontend Challenge - June Celebrations, Perfect Landing: June Celebrations

What I Built

How is a web site like a Dad joke? It needs a good landing.

Father's Day means you have to laugh at your Dad's joke. For this challenge, I built a landing page for dad jokes. It has plenty of Dad jokes, a button to get a random joke, and links to more dad jokes related content.

Demo

This is the codepen for the site.

The live page.

live page

Journey

I was trying to figure something do for a June Celebration. Fathers Day's was just a few days away. Humor and jokes are a big part of my family so I focused on laughing with my dad and son.

This is a static HTML site with a button that calls a Joke API. I modified my code from a Danny Thompson tutorial from a while ago. I could have changed APIs but this one had a filter option to block inappropriate jokes. I set the call to send puns and block NSFW stuff.

The color pallet is based off of Dad's Root Beer branding. I thought about making a CSS version of the can for the art challenge but wanted something up the Friday before Father's Day. I may do it before DEV's Challenge Deadline of June 29.

The cover image was made with Photoshop. The logo is what was envisioned for the CSS Art. It may be added to the live page.

A root beer can. It is blue with yellow text that read Dad's.

Updates

Now with more JavaScript. There's now an enter a joke section. Input a joke and get and AI, adolescent individual, response. Used JavaScript to pull a random response from an array.

Added the cover image to the live site.

This blog earned the Top CSS badge.

I visited a bunch of joke sites to find some that were decent to share. I'd like to add a section to submit your own jokes. This is not finished, It will be updates as time allows. Just wanted it up before Father's Day.

This was a fun early internet kind of build. I really enjoyed researching and building it.

Top comments (9)

Collapse
 
jess profile image
Jess Lee

To whoever stole my copy of Microsoft Office, I will find you. You have my Word!

Collapse
 
jarvisscript profile image
Chris Jarvis

That's a good one.

Collapse
 
ben profile image
Ben Halpern

Love this

Collapse
 
dotallio profile image
Dotallio

Haha, loving the 'good landing' punchline! Seeing humor baked right into a web project makes this way more fun - now I'm tempted to add my own worst dad joke. Any plans for a joke submission form soon?

Collapse
 
jarvisscript profile image
Chris Jarvis

It's on the stretch goals list.

Collapse
 
parag_nandy_roy profile image
Parag Nandy Roy

This is pure dad joke genius πŸ˜‚

Collapse
 
nathan_tarbert profile image
Nathan Tarbert

love the whole dad joke landing thing, def got me grinning, you think the best jokes come from the internet or still just real people riffing in person

Collapse
 
jarvisscript profile image
Chris Jarvis

In person. There's more fun hearing the laughter.

Collapse
 
appsnationblogs profile image
Appsnation

I remember something when read the title of blog My code doesn’t always run...
But when it does, I have no idea why