I am doing the Random Quote Generator project and wrote the code for it in the VS Code editor and ran it on live server. I wanted to ask some questions regarding it like smooth background transitions and tweeting quote so, decided to put the code in codepen and realized that I will have to change the JSON file location in the fetch API in order for it to work in the codepen. I tried creating a new codepen specifically for JSON file and then put its link in the fetch API in the original codepen but it didn’t work. So, any idea how should I go about it?
Here’s how it looks like when I run it on live server: