Skip to main content

Sparkbox Code Challenge: Newsletter Sign-Up Form

04-01-21 Philip Zastrow, Kasey Bonifacio

In this Sparkbox Code Challenge, you are tasked with creating a newsletter sign-up form while using something new. Are you up for the challenge?

We have a team that likes to continuously learn. Sparkbox Code Challenges encourage us to stretch ourselves, explore, and learn. We invite you to learn along with us in this code challenge in CodePen.

The Challenge

In this Sparkbox Code Challenge, you are tasked with creating a newsletter sign-up form. The form must have the following:

  • A form element

  • A label attached to an email input field

  • A submit button

Challenge yourself in an area you want to grow! This can be making the form accessible, adding animation, trying a new CSS feature or custom properties, or building in a new framework.

Watch a full introduction with Sparkboxer Philip Zastrow.

Does this challenge sound fun? Share your solution on Twitter. Don’t forget to tag us with @hearsparkbox and use #SparkboxCodeChallenge.


Possible Solutions

Here are some solutions Sparkboxers have come up with to build and style a sign-up form.

Using Tailwind CSS

In this solution, Philip Zastrow challenged himself by trying to use Tailwind CSS to complete this challenge.

Check out Philip's solution in CodePen

Using a New CSS Element

Kasey Bonifacio solved this challenge by making a fun CSS gradient effect using :focus-within.

Check out Kasey's solution in CodePen

Related Content

User-Centered Thinking: 7 Things to Consider and a Free Guide

Want the benefits of UX but not sure where to start? Grab our guide to evaluate your needs, earn buy-in, and get hiring tips.

More Details

See Everything In

Want to talk about how we can work together?

Katie can help

A portrait of Vice President of Business Development, Katie Jennings.

Katie Jennings

Vice President of Business Development