javascript replace text with images problem
- by Amit Malhotra
I'm extremely new to JS and have this code that I'm trying to tweak. WHen I was adding the array, I had tested it with only a couple of items and it was working fine, now it just doesn't work, and I can't figure out what is wrong with it!!
Basically, I'm trying to change every instance of a card type with an image on a webpage
Here's the code:
…