A Pen by Jesse Jurman on CodePen.
Created
July 12, 2023 02:47
-
-
Save JRJurman/2c30a5209c5f34dfc5a151ea134475fe to your computer and use it in GitHub Desktop.
Image Src Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://unpkg.com/tram-lite@2"></script> | |
<error-image src="https://placekitten.com/200/300"></error-image> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define` | |
<error-image> | |
<img src=${'src'}> | |
</error-image> | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment