Created
December 23, 2020 06:59
-
-
Save ufo22940268/cd6c8a6ccc10b888f47e2e58b611ea60 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
<html> | |
<head> | |
<style> | |
.banner { | |
height: 300px; | |
background: aquamarine; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="banner"> | |
<h1>Header</h1> | |
</div> | |
<section> | |
</section> | |
<div class="banner"> | |
<h1>Foot</h1> | |
</div> | |
</body> | |
<script type="text/javascript"> | |
(async () => { | |
const response = await fetch("http://localhost:63342/test/84d1369d2a97cb2150a3922897248912.html?_ijt=i2l1dv051h9dp9g0qp72g48673"); | |
document.querySelector('section').innerHTML = await response.text(); | |
})(); | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Load html from local server because the CORS restriction.