You can use `onerror` on the image tag
- ·
- Telegram
- ·
- Newsletter

😲 TIL: You can hide an image when it is broken so you don't get that ugly broken image icon from the browser.
😲 TIL: You can hide an image when it is broken so you don't get that ugly broken image icon from the browser.
We're writing a book, you can get it for free here. We're writing a book! Join the early access to get it for free.