# Working on JavaScript, where is the best place to practice my code?

**URL:** <https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324>\
**Category:** General\
**Created:** [April 19, 2017, 1:47am UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324 "2017-04-19T01:47:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![SADickson](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@SADickson](https://forum.freecodecamp.org/u/SADickson)\
**Post date:** [April 19, 2017, 1:47am UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/1 "2017-04-19T01:47:04Z")

</div>

Hello, I am currently reading YDKJS and trying to practice my code. Where would be the best place for me to enter my JS. I am trying brackets but can’t quite understand how to actually use my code I’ve entered.

Any help is wonderful. Thanks

---

<div class="post-metadata">

**Author:** ![Paradox5](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@Paradox5](https://forum.freecodecamp.org/u/Paradox5)\
**Post date:** [April 19, 2017, 1:48am UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/2 "2017-04-19T01:48:00Z")

</div>

I prefer Atom as my text editor of choice

---

<div class="post-metadata">

**Author:** ![SADickson](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@SADickson](https://forum.freecodecamp.org/u/SADickson)\
**Post date:** [April 19, 2017, 1:56am UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/3 "2017-04-19T01:56:41Z")

</div>

I’ll take a look, thanks

---

<div class="post-metadata">

**Author:** ![pompan129](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/pompan129/32/73280_2.png) [@pompan129](https://forum.freecodecamp.org/u/pompan129)\
**Post date:** [April 19, 2017, 2:13am UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/4 "2017-04-19T02:13:34Z")

</div>

Replt.it is a quick and dirty solution for just running some snipets. [https://repl.it/languages](https://repl.it/languages) (choose javascipt)  
also JSFiddle. [https://jsfiddle.net/](https://jsfiddle.net/)

---

<div class="post-metadata">

**Author:** ![CandiW](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/candiw/32/95324_2.png) [@CandiW](https://forum.freecodecamp.org/u/CandiW)\
**Post date:** [April 19, 2017, 2:46am UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/5 "2017-04-19T02:46:51Z")

</div>

I really like [Visual Studio Code](https://code.visualstudio.com/)…it’s a free download too 🙂

---

<div class="post-metadata">

**Author:** ![RaneWrites](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ranewrites/32/44163_2.png) [@RaneWrites](https://forum.freecodecamp.org/u/RaneWrites)\
**Post date:** [April 19, 2017, 2:48am UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/6 "2017-04-19T02:48:04Z")

</div>

I prefer JSBin because it has a console and, if you want, you can hide everything but the JS and the console. [https://jsbin.com/?html,js,console,output](https://jsbin.com/?html,js,console,output)

To run your code locally, you’ll need to setup a server. You can install a package like WAMP or XAMP to do this, or setup a node server from a boilerplate (or from scratch if you know how).  
[https://www.npmjs.com/package/js-boilerplate](https://www.npmjs.com/package/js-boilerplate)

---

<div class="post-metadata">

**Author:** ![naeemrind](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/naeemrind/32/35984_2.png) [@naeemrind](https://forum.freecodecamp.org/u/naeemrind)\
**Post date:** [April 19, 2017, 7:56pm UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/7 "2017-04-19T19:56:06Z")

</div>

I use Atom for my JS practice. Its awesome and gives me real-time results of my code. A simple setup is as under:

 ![](https://global.discourse-cdn.com/freecodecamp/original/3X/1/7/17a4ff6bc4049cb4404e01ac3d7634980604ba4c.png)

---

<div class="post-metadata">

**Author:** ![ThatKDB](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@ThatKDB](https://forum.freecodecamp.org/u/ThatKDB)\
**Post date:** [April 19, 2017, 8:19pm UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/8 "2017-04-19T20:19:36Z")

</div>

If you are just looking for a place to enter your code a view it running, there are a bunch of options. You can use one of the many text editors to write the code, and then open the files in a browser. If you’re just writing js code without interacting with the DOM or HTML then you would need to have the javascript console open in the browser to see your output.

There are several online editors and playgrounds. One of the nicer ones is [glitch.com](http://glitch.com) which is a js playground by the creator of JIIRA and Trello.

Don’t worry about the details of this text editor/IDE vs that one or this code playground vs that one. If you find Brackets not to your liking try one of the many others until you find one you like and then focus on coding 🙂

---

<div class="post-metadata">

**Author:** ![IsaacAbrahamson](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/isaacabrahamson/32/30882_2.png) [@IsaacAbrahamson](https://forum.freecodecamp.org/u/IsaacAbrahamson)\
**Post date:** [April 19, 2017, 10:52pm UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/9 "2017-04-19T22:52:30Z")

</div>

Lets keep it simple. Open up your web browser (I use Chrome). Press `CTRL + SHIFT + J` to open console. Paste or type in code. Press enter to run. Simple as that. You don’t need an IDE. You don’t need an online connection to go to some site. All you need is your web browser, which everyone has. If you need to go to next line, hold `SHIFT + ENTER`.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 5:59pm UTC](https://forum.freecodecamp.org/t/working-on-javascript-where-is-the-best-place-to-practice-my-code/107324/10 "2021-01-16T17:59:07Z")

</div>

Closed on January 16, 2021, 5:59pm UTC


