Thanks for the insights and useful tips!
Just some notes:
`<input type=”color”>` should be used with caution, as the browser support is not the best yet.
toFixed() will always return a string instead of a number! So in order to get the number type, you’d need to cast it again (e.g. via
Also, here’s my favorite flexbox guide if you need some more input for that topic: https://css-tricks.com/snippets/css/a-guide-to-flexbox