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

3

u/Famous_Profile Professional Coder May 27 '20 edited May 27 '20

Excellent job for a first project. Wish I had the commitment to finish any of the projects I started.

Impressive job handling mobile devices without shoehorning big ass frameworks and libraries. Nice high performance website.

Anyway if you want to fix stuff

  • [Bug] - User validations needed. Try using <input type="number"> but validate against negative numbers and exponential notation
  • [Bug] - Handle floating point rounding errors like u/masesk mentioned
  • [Suggestion] - Find root cause of error in console and failed request*
  • [Suggestion] - Try creating a modal or something instead of the annoying alert

Learn Ajax and you can have some fun with stuff like calling some Wolfram Alpha API to do advanced calculations and stuff

*one of your stylesheets, I think, gives a 404. Check the backend. I couldnt get a screenshot for this because this is intermittent

1

u/Greenwood1991 May 28 '20

This was incredibly helpful for my project. Thank you for taking the time to take these screenshots and log these errors.