Questions tagged [jsbin]

jsbin is an online editor for sharing and editing code.

jsbin is similar to it allow creating, sharing and editing web including , and through the community. jsbin make it easy teamwork development and troubleshooting by making modular working demos of code available for everyone in your team or community.

Alert: Regarding this tag in a question should be only when your issue or question is meant by the usage of jsbin.

130 questions
30
votes
1 answer

JSBin: How to get ES6/Babel tab?

I am learning JavaScript. I am using online editor Jsbin to run javascript. I want to use ES6 with Babel. I have seen some of the tutorials or JSBins which has babel tab in the editor. Please refer the screenshot for more detail. I am not able to…
Hitesh Kumar
  • 3,508
  • 7
  • 40
  • 71
21
votes
2 answers

Rx.Observable.just is not a function in JSBIN & RxJS 5

In JsBin, I got error "Rx.Observable.just is not a function" in Firefox & Chrome. JsBin example : http://jsbin.com/vunuta/edit?html,js,console HTML : script src="https://npmcdn.com/@reactivex/rxjs@5.0.0-beta.7/dist/global/Rx.umd.js"> Typescript…
Philippe sillon
  • 1,572
  • 2
  • 14
  • 20
15
votes
3 answers

Debugging JSBin with Chrome

I have problem with debugging js code written in js bin with chrome. Everytime when i edit/click run with JS new source file is generated and old breakpoint are not being hit. Do you have any solution for this problem?
Tomasz
  • 2,051
  • 3
  • 31
  • 64
12
votes
1 answer

Why does this SVG image have a height of 150px

Why is this SVG image displayed at 150px height inside this 500px container? Why this specific value? I found this weird behavior in both js bin and Codepen, so I think it is something to do with my code and not with the online editors. Note: a…
AIon
  • 12,521
  • 10
  • 47
  • 73
9
votes
1 answer

JS Bin Warning: Bad escapement of EOL. Use option multistr if needed

That is a warning stemming from snippets like: a="hello\ world" Apparently JsBin does not support the line continuation character unless a specific option is set. How to set the mentioned multi-string option? Thanks.
antonio
  • 10,629
  • 13
  • 68
  • 136
7
votes
1 answer

Can I use Polymer on JSFiddle?

I want to create quick prototypes of Polymer elements in a sandbox like JSFiddle or JavaScript Bin, but I can't get it working!
Kayce Basques
  • 23,849
  • 11
  • 86
  • 120
6
votes
1 answer

Send and Get data from code editor like Plunker/StackBlitz embedded

I have a website in .Net Core 2 and Angular 6. I am trying to create a code editor in angular or javaScript that will interact with part of the website, from parent to embeded direction, not the opposite and this code can be submitted to my server…
Tito
  • 722
  • 4
  • 26
  • 55
6
votes
1 answer

How to show console output on webpage?

When I go to websites like Codecademy or JSBin, I notice that they allow you to see console output. How does that work? Just to clarify, let's say a user types this in a textbox console.log('hello'); How can I make the output on the actual web…
idude
  • 4,654
  • 8
  • 35
  • 49
5
votes
1 answer

How to download JS Bin to my computer to code

I'm new to JavaSript, and I like JS Bin, but on desktop no thing is the same for development. Is there a way to work with JS Bin without access to the website?
Tu Do dinh
  • 59
  • 1
  • 2
4
votes
1 answer

ES6 not getting enabled in JSBin, despite selecting the “ES6 / Babel” option

I changed the drop down to “ES6 / Babel” in JSBin but it is still showing error for ES6 features. Do I need to do some additional change while enabling ES6 in JSBin?
ghostrider
  • 2,046
  • 3
  • 23
  • 46
3
votes
3 answers

How to make lodash import in JSBin?

I need to show one code in JSBin with the lodash and cannot figure it out how to make a 'get' import. I've got "ReferenceError: require is not defined https://jsbin.com/hotobir/edit?js,console // Normally that is working fine import { get } from…
victor zadorozhnyy
  • 889
  • 1
  • 12
  • 25
3
votes
0 answers

Getting JS console input and output inside my WINDOW

I basically want to do what jsbin.com does. Here is their code. That is having a mostly functional console inside my React application. I managed to hijack the console in such a way that i change the return value of each call via this guide. But how…
Divide by Zero
  • 1,343
  • 1
  • 14
  • 37
3
votes
1 answer

Why does this loop terminate partway through?

I'm trying to write a program to find the smallest common multiple of the provided parameters that can be evenly divided by both, as well as by all sequential numbers in the range between these parameters. The range will be an array of two numbers…
Narcis Neacsu
  • 1,013
  • 2
  • 12
  • 19
3
votes
2 answers

What's wrong with my browser JavaScript engine on jsbin.com?

I am new to JavaScript. I am trying to add text into a p tag and targeting it using the ID. Now, using the document.getElementById('text').innerHTML, when I set the text that contains the do word, it returns the original text in the p…
suprxd
  • 330
  • 1
  • 4
  • 13
3
votes
1 answer

Why is the new ES6 find method not recognised in JSBin?

I have the following code which I believe to be correct and transpiler ES6/Babel option on but I get the following error. "error" "TypeError: nums.find is not a function at qezoze.js:11:18 at qezoze.js:16:3 at…
Faktor 10
  • 1,868
  • 2
  • 21
  • 29
1
2 3
8 9