How does a person get their HTML code to be run on Github?
My Silly Experimental GitHub Pages Website To Test My HTML and CSS skills
Simple index.html for basic c programming github page?
You can use an iframe with a customized tio.run link.
For example, this link takes you to a page on tio.run with a pre-filled code example that lets you specify inputs, debug, arguments, and run it:
https://tio.run/##S9ZNT07@/185My85pzQlVcGmuCQlM18vw44rM69EITcxM09DU6Gai7OgtKRYQ8kjNScnX0chPL8oJ0VRSdOaq/b/fwA
I believe it works by encoding your code snippet into the URL. The site supports basically every programming language ever created, even super obscure esoteric ones.
iframes are an HTML tag that lets you embed HTML content (like another page or part of another page) into your main page. So you could put something like the following html into your static site:
<iframe src="<the customized tio link>" height=400 width=400></iframe>
Example: link
More on reddit.comWhat is your go-to site for pure HTML templates?
Videos
How does a person get their HTML code to be run on Github?