-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inserting an Iframe on our about us page #20
Comments
Oopsie, something went wrong 😿Results✅✅✅❌ Tests✅ Getting the file Try again 😁 |
2 similar comments
Oopsie, something went wrong 😿Results✅✅✅❌ Tests✅ Getting the file Try again 😁 |
Oopsie, something went wrong 😿Results✅✅✅❌ Tests✅ Getting the file Try again 😁 |
You did great! 😁Results✅✅✅✅ Tests✅ Getting the file |
You have successfully completed this step!Go to the next step! |
Inserting an Iframe on our about us page
✨ Branch: iframe
Introduction
An Iframe is a HTML element that allows the incorporation of another HTML page to the current one. Therefore, using the Iframe block, you can embed content from other URLs and display them on your page. It's important to remember that URLs rendered by Iframe have their own context, with independent session history and DOMs.
WARNING: Iframes are only allowed on custom page templates.
The
iframe
block has very simple properties:src
: shows which URL should be rendered by the iframewidth
: pixel width of the iframe elementheight
: height of the iframe elementBelow, we can see an implementation example of the
iframe
block:Activity
Let's display an Instagram post on your store page:
rich-text
and include aniframe
block;iframe
props, display the following link content in a 800px-wide by 1000px-high container:https://www.instagram.com/p/B973Qp8BacC/embed
ℹ️ Remember to access the Iframe documentation if you have any questions during this activity.
Expected result:
If you're still unsure as to how to send your answers, click here.
The text was updated successfully, but these errors were encountered: