@ewlondonSubmitted 9 months ago
I opted to forgo the implementation of a button to submit the date and instead calculate the age dynamically on input. There are a lot ugly ternary operations that need refactoring but I am learning as I go!
I opted to forgo the implementation of a button to submit the date and instead calculate the age dynamically on input. There are a lot ugly ternary operations that need refactoring but I am learning as I go!
Great job but you can do better. Let's give the next project more shot
Ty in advance.
you should try to ask bing ai/ bard some thing you don't know. probably describe the problem you want to solve. for the line, use hr element to get it then put both the hr and button element inside a div. after that you use css to style to put the button at the right in desktop view and middle of the hr for the mobile view. I hope this explanation points at something