My Shitty Code

Embracing the Messiness in Search of Epic Solutions

Tag: HTML

  • HTML: Creating a Default Placeholder for Image that Fails to Load

    PROBLEM Let’s assume our web application relies on an external system to provide the image link, for example: employee photo link of a company. If the image link is invalid, we will get the ugly looking “x” on certain browsers. SOLUTION To fix this, we can load an image placeholder from our own web application […]