🌐
Reddit
reddit.com › r/learnjavascript › free online tool to test out javascript?
r/learnjavascript on Reddit: Free online tool to test out javascript?
March 5, 2025 -

Hi guys

I'm looking for a free online tool where I can practice HTML, CSS and Javascript. I prefer something with an console included so that I can see my error messages right away. playcode.io is pretty great, but requires a subscribtion if you write more than a certain amount of code. Do you known of other similar solutions where I can see the console as well? I've been using https://onecompiler.com/ which lacks the console : (

Thanks!

🌐
Reddit
reddit.com › r/learnjavascript › what website do you use to test html,css and javascript online?
r/learnjavascript on Reddit: What website do you use to test html,css and javascript online?
November 30, 2021 -

Im now learning javascript and inadvertently went to a page that had all three code windows open - html, css and javascript and at the bottom of the page was the test view.

Im looking for something similar or that page I lost the link to.

Thanks

🌐
Reddit
reddit.com › r/learnjavascript › where is the best place to test my javascript knowledge?
r/learnjavascript on Reddit: Where is the best place to test my Javascript knowledge?
May 16, 2023 -

Currently I am learning Javascript on FreeCodeCamp. I was wondering if anyone knew where the best place was to challenge my skills or knowledge on beginner to intermediate coding problems. I'm willing to do this as I know how beneficial this can be to learning a programming language. I've heard of sites such as LeetCode, but I haven't really looked into it. If you guys could please give me some suggestions on what websites are the best that would be greatly appreciated.

🌐
JSFiddle
jsfiddle.net
JSFiddle - Code Playground
JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.
🌐
Reddit
reddit.com › r/learnjavascript › how do you unit test javacript on a website?
r/learnjavascript on Reddit: How do you unit test javacript on a website?
October 12, 2023 -

I'm pulling my hair out trying to figure out how to unit test my website's javascript. It seems like most popular tools (ex. Mocha) only work in Node.JS.

🌐
Reddit
reddit.com › r/learnjavascript › is there a way to test my js code without setting up an html?
r/learnjavascript on Reddit: Is there a way to test my js code without setting up an html?
June 6, 2021 -

Sorry for asking this I suposse this gets asked a lot here but I could not find any info on the matter.

I am learning js for web developing but I already know python. I have been learning for 2 days and today I started js codewars.

Everytime I want to set up an exercise I have to create an html file, link the file to the html, launch the html in the browser, write the code in the js file, open the console on firefox and check if my function has the correct output (I use console.log to check)

It gets old real quick when you have to do that 10 times a day. In python I would just click "run" and that's it.

Is there anyway to check the output on vs code without having to set up the whole thing?

🌐
Reddit
reddit.com › r/learnjavascript › 1 what is the best way to learn unit testing in javascript?
r/learnjavascript on Reddit: 1 What is the best way to learn unit testing in Javascript?
October 11, 2021 -

Hi all - I am a neophyte javascript programmer (~1 year of self taught + coding bootcamp experience), and I've been reading everywhere that unit testing is a useful skill to have as a working dev. I want to prepare myself well for my first dev job - so I was curious - what are some good resources for learning unit testing in javascript?

Thank you all!

🌐
Reddit
reddit.com › r/javascript › [askjs] technical test questions about javascript and related framework
r/javascript on Reddit: [AskJS] Technical test questions about javascript and related framework
November 27, 2023 -

Where can I find test questions about javascript or react js? I've applied for a job as a js fullstack developer and will have a technical test. Or, if any of you, as a user/interviewer, can you tell me some tips on which questions are most commonly asked? Please let me know

Top answer
1 of 3
5
Just use Google. https://github.com/sudheerj/javascript-interview-questions The best advice I can give you is to not bullshit about things you don't understand, any interviewer with more experience than you will see right through it, and nobody wants to work with someone who can't admit they don't know everything.
2 of 3
2
You can find a variety of JavaScript and React.js test questions on platforms like HackerRank, Frontend Lead, and CodeSignal. These sites offer a range of coding challenges that can help you prepare for your technical test. Additionally, you might want to check out other resources of Frontend Lead & FreeCodeCamp for more structured learning and practice questions. As a full-stack JS developer, here are some tips on commonly asked questions and topics to focus on: Be prepared to answer questions on closures, promises, async/await, scope, hoisting, event delegation, and prototype inheritance. Know the basics of React, including component lifecycle methods, hooks (useState, useEffect, useContext, etc.), state management (Redux, Context API), and JSX. Understanding how to structure a React application, component-based architecture, and the principles of clean code and design patterns is important. Expect to solve coding problems or build a small feature during your interview. Be familiar with writing unit tests using frameworks like Jest and React Testing Library. Good luck with your interview! Practice as much as you can, and remember to explain your thought process clearly during the technical test.
Find elsewhere
🌐
Reddit
reddit.com › r/learnjavascript › any online tests which we can give for javascript?
r/learnjavascript on Reddit: Any online Tests which we can give for JavaScript?
December 12, 2019 -

For example

  1. Linkedin Assessment

  2. AngelList JavaScript assessment https://angel.co/assessments

I just want to try these as prep tests for Interviews

EDIT - I want to practice questions on JavaScript concepts used while developing Software, Not LeetCode style questions

🌐
Web Toolkit Online
webtoolkitonline.com › javascript-tester.html
JavaScript Tester online
Run and test your JavaScript code securely with our 100% local online tool. No data is sent over the Internet – everything runs in your browser! Fast, simple, and secure.
🌐
Code Beautify
codebeautify.org › javascript-tester
Javascript Tester to test Javascript code online with Console
A JavaScript tester is a tool or platform that allows you to run and test JavaScript code. It can help debug and verify that your code is working as expected. Various JavaScript testers are available, including online code editors and standalone ...
🌐
Reddit
reddit.com › r/javascript › how to write tests?
r/javascript on Reddit: How to write tests?
May 15, 2015 -

I literally have no idea where to start. I would like to, because I know it's best practice and it seems like a good thing to do, but I can't find any resources on getting started at a low enough level to be accessible for someone who has never written a test.

Does anyone know of anywhere I can read up?

Top answer
1 of 5
20
Well, I once made a small example with Jasmine. Let's say we're creating a calculator: function add(a, b) { return a + b; } function subtract(a, b) { return a - b; } function multiply(a, b) { return a * b; } function divide(a, b) { if (b === 0) { throw new TypeError("The second parameter cannot be zero"); } else { return a / b; } } Then you could test it using Jasmine by doing this: describe("A calculator", function() { it("adds two numbers", function() { expect(add(5, 3)).toBe(8); expect(add(5, -3)).toBe(2); expect(add(-5, 3)).toBe(-2); expect(add(-5, -3)).toBe(-8); expect(add(5, 0)).toBe(5); expect(add(0, 5)).toBe(5); expect(add(0, 0)).toBe(0); }); }); The full example can be seen here: http://g00glen00b.be/wp-content/examples/jasmine-example/index.html (though the descriptions are not really good because it's not really explaining the behavior). However, keep in mind that Jasmine is just a testing framework, you can use the HTML runner for a simple example (like I did), but in practice you will have to use a test runner as well. A popular combination lately is the use of Karma (+ a build tool like Grunt or Gulp). But if your primary goal is to be able to test your code, then you should first take a look at a testing framework and then you can look at the other stuff. ;)
2 of 5
11
If you're really interested in going the TDD route, don't start by writing code. Start by writing a spec that describes, in plain English, exactly what you want the code to do. Take an add() example, you'd start by writing something like: This function should take two numbers as arguments, add them together and return the resulting sum. From that statement, you'd write your tests using Jasmine, Mocha, Karma...any of the frameworks that other people are looking to. You'd want to make sure you have tests to cover all the types of inputs you could send to the function. What happens when you pass in more than two arguments? What happens if you pass in stings of letters instead of numbers? Once your tests are written, run it and watch as all your tests fail. Then you go start writing your the code that implements your spec. As you add features, exception handlers, etc. you'll eventually get to the point where all the tests are passing. Then you move on to the next part if your spec, and start all over again.
🌐
Reddit
reddit.com › r/frontend › how should i get started learning testing in javascript?
How should I get started learning testing in Javascript? : r/Frontend
May 28, 2022 - Familiarize yourself with the different types of tests: There are several types of tests that you can write in JavaScript, including unit tests, integration tests, and end-to-end (E2E) tests.
🌐
Reddit
reddit.com › r/javascript › what's your go-to playground website when you want to quickly test something from your browser's js console?
r/javascript on Reddit: What's your go-to playground website when you want to quickly test something from your browser's JS console?
July 22, 2018 -

Everybody probably has that simple, lightweight and compliant website fires up for quickly validating a little piece of JS (whether it's DOM related or not), what's yours? What makes it your favorite for this purpose? Mine used to be httpbin.org, but it isn't anymore since they started AJAX loading some of the content which is annoying.

🌐
JS Bin
jsbin.com
JS Bin - Collaborative JavaScript Debugging
JavaScript ES6 / Babel JSX (React) CoffeeScript Traceur TypeScript Processing LiveScript ClojureScript Convert to JavaScript
🌐
Reddit
reddit.com › r/javascript › which testing framework do you recommend?
r/javascript on Reddit: Which testing framework do you recommend?
March 6, 2018 -

Most recently I was working with Jest, and I love how it gives you basically everything out of the box. However, it was noticeably slower than the Mocha/Sinon/Chai combination. I heard about Tape/Ava, but never got a chance to use them. Should I give them a try? I was wondering what are you guys using? What do you most love using? What do you recommend for unit tests, and what for E2E tests?

🌐
Playcode
playcode.io › online-javascript-editor
Playcode
The #1 JavaScript playground to write, run and test code instantly. Free JS sandbox with live preview, npm packages, and AI coding assistant. No setup required.