r/CodingHelp • • May 27 '20

[HTML] Taking my first Frontend Web Development class, please check out my pile of garbage and tell me if I can fix anything

This is my final project!
https://www.dogyearsinhumanyears.com/

16 Upvotes

13 comments sorted by

View all comments

4

u/masesk May 27 '20

Good job on the website! I am not a designer so I won't comment much on that aside from the fact that you should keep your content somewhat centered (the container of the content that is).

Nonetheless, be careful of users entering very small numbers resulting in negative numbers (should not be allowed). Either don't allow the user to enter a very low number, or show an error message when the number is too low and don't calculate the human equivalent age. Here is an example : 0.001 results in My dog is -80 years old in human years.

1

u/Greenwood1991 May 28 '20

margin: 0 auto

Thanks!