Here’s Hello World in Python:
Here it is in Java:
Here it is in Ruby:
Here it is in C:
You get the point. You can now embed runnable, editable code in pretty much any language in our forum.
A huge thanks to REPL.it founder Amjad Masad - who created a REPL.it plug in for Discourse - for helping this happen.
As you may already know, we have a massive Wiki that lives here on our forum, and it covers a lot more than just JavaScript - campers are creating tutorial articles for Python, Java, and other popular languages, too!
We are also working on a way of pulling these wiki articles directly into a special section on freeCodeCamp’s challenge map, so that they will show up in searches on freecodecamp.com.
This way, our core curriculum can stay focused on full stack JavaScript, and we can also have extensive interactive tutorials on other popular languages.
Here’s our guide to creating Wiki articles: https://forum.freecodecamp.com/t/guidelines-and-rules-for-wiki-articles/51920
Here’s how you can embed interactive REPL.it’s into your wiki articles (and other forum posts):
- Go to repl.it
- Choose the language you want to use
- Write your code
- Click “Share” and copy the share link
- paste the share link into your forum post on its own line, then press enter.
That’s it. Now you can add to your posts runnable, editable scripts in all major programming languages.
Happy coding!