Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 years ago

Age calculator app

Patricia•110
@Patixi
A solution to the Age calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


hello!!! I have some questions about css in this proyect;

  1. I choose to put @font-face to insert the different fonts , is this better than with a link on the html? which one is faster or what do you recommend.?
  2. Using css to change de style when you put a incorrect value on the inputs i used :invalid for inputs and for the text, but wasn´t working for the label to change the color, so i have to use :has(input:invalid) . why was this happening? anyone can tell me?

About javascript is there any other functions or methods more apropiated?

thanks a lot for reading!!!!!

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 Patricia'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