What I Learned Today - and maybe some other days?
8 May 2020
Adding a loading screen to my Next Js Project
Next Js has an easy to use Router Utility which comes in handy for multiple routing callbacks. These can easily used to create an interesting loader for your application. Today, I learned how to setup the base for one in ~ 20 mins and 10 lines of code.
13 May 2020
alt="" in HTML <img> tag?
While omitting alt <img> indicates that the image is a key part of the content and no textual equivalent is available (generally bad for SEO), setting this attribute to an empty string (alt="") indicates that this image is not a key part of the content (it’s decoration or a tracking pixel), and that non-visual browsers may just omit it from rendering. Visual browsers will also hide the broken image icon if the alt is empty and the image failed to display.