Last active
July 12, 2023 22:03
-
-
Save yovasx2/89b1e99cb2996717a5efc9ec905756ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create the iframe element | |
var iframe = document.createElement("iframe"); | |
// Set the source URL for the iframe | |
iframe.src = "https://www.example.com"; | |
// Set any additional attributes or styles for the iframe | |
iframe.setAttribute("width", "100%"); | |
iframe.setAttribute("height", "400px"); | |
iframe.setAttribute("frameborder", "0"); | |
// Append the iframe to the body of the hi5.com website | |
document.body.appendChild(iframe); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment