DEV Community

Cover image for Glam Up My Markup - Cozy Camp
Rodrigo Antunes
Rodrigo Antunes

Posted on

12 3 5 5 4

Glam Up My Markup - Cozy Camp

This is a submission for DEV Challenge v24.03.20, Glam Up My Markup: Camp Activities

What I Built

This was a very fun challenge.
I explain the details of this journey after the demo.

Demo

Journey

I started by choosing the colors. I wanted to deliver a cozy and warm vibe, so I used CSS Variables to help me remember them.

:root {
  --color-camp-01: #738d5e; // muted green
  --color-camp-02: #293d31; // rich green
  --color-camp-03: #ffc78a; // warm golden
}
Enter fullscreen mode Exit fullscreen mode

Looking at camp inspiration designs, I found strong typography, colorful contrasts and nature-inspired illustrations. Fonts are always hard to choose, so I made up my mind on Truculenta and kept moving forward.

Truculenta from Google Fonts

Ok, time to build the thing.
Since we cannot edit the HTML, with flexbox I manage to achieve something like this.
Looks fine, but there is still some work to be done.

Form v1

This is more of a mobile-first approach, since on desktop we have more room to work with, I thought about changing the direction of the flex elements. And using the :after pseudo element so I could place something inside the <h1> tag.
I used an SVG from game-icons library.

Camp fire SVG from game-icons

Putting it all together, we have this:

Form v2

Good, we are getting somewhere.
Although, there is something missing 🤔

Getting back at the camp designs inspiration, I found some rough edges designs, and things that give some organic look. So I decide to try some border-image css to see how it looks.

Form v3 - Final

Now, about the feedback when the form is sent?
Since I started this thinking about cozyness, we need some smooth animations:

Animated Gif of the form submission

At the last minute I decide to increased spacing between elements for improved readability 😊

Thank you Dev.to team for creating this challange.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (4)

Collapse
 
ben profile image
Ben Halpern

Awesome vibes here

Collapse
 
sarahokolo profile image
sahra 💫

The best I've seen so far👍

Collapse
 
best_codes profile image
Best Codes

Excellent job on this… it looks a lot better than mine so far. 😂

Collapse
 
programordie profile image
programORdie

Dang this looks nice, much better then mine so far!

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay