How to round to decimal places in JavaScript?

Unlike many other languages JavaScript does not offer a built-in method to round a number to a specified number of decimal places. The built in Math.round() function only rounds [...]

How to round to decimal places in JavaScript?2021-06-12T23:47:14+00:00

CSS how to remove underline from link

When styling a website you may want to remove the default underline from a link, like I have in with my navbar links. Fortunately CSS offers many ways to [...]

CSS how to remove underline from link2021-05-16T06:28:33+00:00

CSS pseudo-elements a ridiculously simple explanation

Pseudo-elements especially ::before and ::after are so hot right now. However, lots of beginners don’t fully grasp their power. So, before you can harness their power you first need [...]

CSS pseudo-elements a ridiculously simple explanation2021-05-03T23:53:18+00:00
Go to Top