Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 3 months ago

Newsletter-sign-up-form-with-success-message

semantic-ui, jquery
EmicJoykiller•270
@EmicJoykiller
A solution to the Newsletter sign-up form with success message challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I’m most proud of how well the project turned out in terms of responsiveness and design consistency. The layout transitions smoothly between mobile and desktop views, and the use of CSS variables made it easier to maintain a cohesive color scheme.

Next time, I would refine the structure further by optimizing the CSS for better maintainability, possibly using SCSS to handle repeated styles more efficiently. Additionally, I would explore using CSS Grid instead of flexbox for certain layout elements to improve alignment and spacing control.

What challenges did you encounter, and how did you overcome them?

One of the main challenges was ensuring that the hero image stayed positioned correctly in mobile view while keeping proper spacing between elements. Initially, there were issues with the image overlapping the content or not aligning well within the container.

To solve this, I adjusted the CSS by making the .hero section stick to the top while allowing enough space between the image and the content. I also fine-tuned the layout using margin-bottom and position: relative to maintain the intended structure across different screen sizes.

Another challenge was handling form validation effectively. I initially relied on basic HTML validation but later improved it by adding JavaScript for real-time error handling, ensuring a better user experience.

What specific areas of your project would you like help with?

Accessibility Improvements – I would love feedback on how to make the form and layout more accessible, especially for screen readers. Are there any best practices I might have missed?

Performance Optimization – Are there any unnecessary styles or layout techniques that could be optimized for better performance?

Best Practices for Mobile-First Design – While I focused on a mobile-first approach, I’d appreciate any insights on how to refine the responsiveness further, especially regarding font scaling and spacing.

Any feedback on these areas—or any other improvements you notice—would be greatly appreciated!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on EmicJoykiller's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License