Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

HMTX & NodeJS - Age Calculator App

node
Ozzy-codes•130
@Ozzy-codes
A solution to the Age calculator app 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?

This app is built with HTMX and Node.js for a backend. One thing that I am proud of and look forward to making a standard practice is tested driven development. I included this method while developing the validation logic, and it was such a powerful way of developing.

Next time I would explore more of frontend Test Driven Development (TDD), and building with Go as the backend.

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

I am new to working with HTMX and I found that adding client side event listeners that depended on components that were being swapped was not an ideal way to go. Instead I found that if I wanted to control styling, I found it easier to lean into the HTMX route of making those changes. Take a look at my README in my Github repo for more details

What specific areas of your project would you like help with?
  • How I could have made better use of HTMX to develop this project
  • How are folks are going at frontend code tested driven development, recommendations? I used Vitest for the backend.
  • How are you centering the button in mobile view so that it stays center as you change the width?
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 Ozzy-codes'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

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

Frontend Mentor

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

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