Wednesday, March 15, 2023
HomeCSSjavascript - html tag presented in web browser rather making it

javascript – html tag presented in web browser rather making it


I am utilizing this https://codepen.io/toschivictor/pen/JjNZjEj

I require to change symbols with photos,

so I changed these symbols

 const things = [
    '🍭',
    '❌',
    '⛄️',
    '🦄',
    '🍌',
    '💩',
    '👻',
    '😻',
    '💵',
    '🤡',    
    '🦖',
    '🍎',
    '😂',
    '🖕',
  ];.

with listed below code,

 const things = [
    '<img src="image.jpg">',
    '<img src="image.jpg">',
    '<img src="image.jpg">',
    '<img src="image.jpg">',
    '<img src="image.jpg">',
    '<img src="image.jpg">',
    '<img src="image.jpg">',
    '<img src="image.jpg">',
    '<img src="image.jpg">',
];.

Nonetheless it is showing the tag itself as opposed to revealing picture,

which tag or which design or which js feature creating this?

RELATED ARTICLES

Most Popular

Recent Comments