I have copied an HTML and CSS code from a tutorial. However, I get this error message:
{"message":"Asset does not exist"}
CodePudding user response:
It seems it is the problem of the editor you are using. Codepen has a real URL in the preview iframe; when you navigate to a fragment URL like #slider1
, it behaves correctly. The p5 editor's preview iframe uses a blob as its source. When you navigate to a fragment URL, it seems the iframe is reloaded, and wrongly at that.