I removed all the escapes then made sure it worked
Then put them back in.
Finally no errors.
There was probably a typo somewhere in the original code that you fixed when you rewrote it. Glad you got it working!
I ‘finished’ the trading card generator website by the way.
Cool. Looks pretty good, too. I might suggest keeping the navigation in the same place across all pages (putting it below on some pages makes it look a bit unfinished). Is the whole site supposed to be centered or left-aligned?