Iframe invisible?

I typed in code that creates an iframe in the javascript function block
untitled script pic (2)
and i found nothing on my screen when i ran the block
so i went into the javascript console and
Screenshot 2022-05-07 7.36.55 AM
it said the iframe was there
What is happening??

Discussion on this sort of JavaScript coding issues are strongly discouraged on this Snap! forum

Sadly

Please go ask about that on Stack Overflow.

okay thx

This might be because the Snap! editor obscures the iframe.

I was thinking it was because Snap! had a part which was overlapping with the iframe

That's what I thought... hoping for another way to fix, it I posted it on the Snap! forum.
Edit: I could just get rid of the part that is obscuring the iframe

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.