Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Age calculator app

Patricia 110

@Patixi

Desktop design screenshot for the Age calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

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!!!!!

Community feedback

@michyking

Posted

When it comes to adding fonts to your webpages, I think it boils down to individual preference. For me, I love adding the link to the font in my HTML as I dimmed it faster and easier to use in my own perpective.

1

Please log in to post a comment

Log in with GitHub
Discord logo

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