Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Are there websites or some software where you can practice what you are learning?

As per title. I'm new to TH and wondered if there is a website or some software that lets you practise things as you learn them?

Any pointers appreciated.

3 Answers

Hi Tristan!

Yes - there are several.

I do a lot of quick testing here:

https://www.w3schools.com/js/tryit.asp?filename=tryjs_array

More info:

https://scotch.io/tutorials/7-javascript-playgrounds-to-use-in-2019

https://www.hongkiat.com/blog/coding-playgrounds/

Here's a project I made on Codepen:

https://codepen.io/petrovnikov/full/MXxQPx

Which is my quirky take on the classic Simon Game coding challenge:

https://www.youtube.com/watch?v=1Yqj76Q4jJ4

BTW, for Python testing, I use this:

https://www.katacoda.com/courses/python/playground

You could also set up your own local testing webserver, as well, but how exactly to do that would depend on your operating system and what all protocols you will want to run on it (PHP, mySQL, etc.)

You can query Google for instructions on exactly how to do that, though...

I use this on my mac for HTML, CSS, JS and PHP testing:

https://www.php.net/manual/en/features.commandline.webserver.php

Plus I also have a MAMP environment installed, as well:

https://www.mamp.info/en/mac/

https://www.mamp.info/en/windows/

I hope that helps.

Stay safe and happy coding!

Thank you, Peter, for your comprehensive reply. This is warmly received.

jsfiddle is a pretty good code playground. Just make sure you create an account if you want to save the stuff you're working on.

Muchas gracias Cesar.

Hey Tristan,

Have a look at https://www.codewars.com/

It can be pretty challenging but it's great for learning to how to solve problems with code.

Start with the easier challenges and see how far you can progress.

Also make use of the workspaces on TH and follow along where you can, I find it helps me retain the information much better than just watching the videos.

Cheers David, thanks for your time in responding. I do use the TH workspaces and agree they are valuable. I will check out this site.