DEV Community

Cover image for Glam Up My Markup: Submission (An interactive form)
Sidhanth
Sidhanth

Posted on

3

Glam Up My Markup: Submission (An interactive form)

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

What I Built

For this challenge 🌈, I created a dynamic form for camp activity inquiries. Users can select their preferred activity πŸ“ from a dropdown menu, enter any food allergies πŸ₯΄ they have (if applicable), and provide additional information 🧐 to the counsellor. The form dynamically updates with tips related to the selected activity and displays an emoji representing the chosen activity at the top of the form which makes it interactive.

Demo

Use it on 0.5x for a better experience 🀫.

Journey

Throughout this challenge, I learned how to dynamically update form elements based on user input using JavaScript. I also gained experience in manipulating the DOM to display relevant information and improve user experience. One aspect I'm particularly proud of is the seamless integration of emoji representations for each activity, enhancing the visual appeal of the form.

I have tackled the default behaviour of the form when submitted and tried to give an actual feeling while filling the form up by adding checks (when the fields are empty) and when the form is submitted by filling up the details, I have provided an alert, so that the user gets to know that the form is submitted.

In the future, I aim to further enhance the form by implementing features such as input validation and improved styling to make it even more user-friendly πŸ€—.

Contributors

@sidhanth

I hope you like it πŸ‘».

Thank you for this challenging opportunity! πŸ’ͺ
Happy Coding πŸ–₯️!

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 (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

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

Okay