How to execute code directly on GitHub without downloading?

Hi everyone, need some help here.

My instructor mentioned that we should write and execute our projects entirely through GitHub’s web interface. No downloading files or using external editors. He specifically said there’s an execution feature built into GitHub that allows you to run your program and view the results directly in the browser.

I’ve been searching everywhere but can’t locate this functionality. I looked into GitHub Codespaces and workflow automation, but apparently those aren’t what he was referring to. He keeps insisting there’s a direct execution option available.

Since everyone in class is using different programming languages for their assignments, I’m wondering if this feature actually exists or if I’m missing something obvious. Has anyone encountered this before or know what he might be talking about? Thanks for any guidance!

Honestly sounds like your instructor might be confusing GitHub with some other platform or educational tool. I’ve been using GitHub professionally for years and there’s no built-in code execution feature that works directly in the web interface for arbitrary code. The closest thing would be GitHub Pages for static websites, but that’s not really “executing” code in the traditional sense. Maybe he’s thinking of an online IDE like Replit or CodePen that has GitHub integration? Or possibly some educational platform that connects to GitHub repositories? I’d suggest asking your instructor for a specific demonstration or screenshot of this feature, because what he’s describing doesn’t match GitHub’s actual capabilities.