On-chain NFT image problem

I want to mint an NFT on-chain, but I’m not able to get the image on OpenSea even though I followed the instructions. I thought it might be a problem with the SVG file I made, so I copied and pasted the example in the instructions, but it didn’t show up on Etherscan either. I wonder if it’s a problem with Goerli?

Can you share a link to your token?

It appears that the data is not properly encoded:

See the error console log.

I copied and pasted the code in the tutorial, how do I do it? Can you try it yourself? I wonder if I’m doing something wrong. I don’t understand. Does it work for you?