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
2
votes
2 answers

Why is this code working in jsbin but not in jsfiddle?

I am reposting/rephrasing this as another user here advised. The code below works in jsbin but not in jsfiddle. Does anybody know why? The problem originated in my attempt to include this code in a blogger post…
MiniMe
  • 1,057
  • 4
  • 22
  • 47
1
vote
1 answer

what is the key shortcut to run console.log() in jsbin?

I want to know what is the key shortcut for console.log() in jsbin? Is there a combination of keys on a keyboard to do it? Thanks
trey
  • 21
  • 3
1
vote
1 answer

Using THREE.js TransformControls

I am trying to use the THREE TransformControls class in a JSBin project that I am creating. Unfortunately, I cannot share my entire code. However, my JS code is within HTML tags. All my imports are handled by…
E P
  • 33
  • 7
1
vote
2 answers

Not able to understand why JS Code is not running in JS Bin

Getting the below error code in JS Bin when I am trying to run the following code, am I doing anything wrong?? let myTodos = { day: "Monday", meetings: 0, meetDone: 0, } let addMeeting = function(todo, meet = 0) { todo.meetings =…
Sayan
  • 11
  • 4
1
vote
3 answers

How to stop a setInterval Loop in Javascript outside of code without refreshing the browser?

This may be a quite naive question but I really need some help. Prior to writing this post, I was programming on JSBin. Turns out without me realizing, I ran a setInterval loop prompting for userInput and it kept on looping, making me unable to…
1
vote
0 answers

Errors while installing JsBin locally

C:\>npm install -g jsbin I am getting following error while installing jsbin > grunt build >> Local Npm module "grunt-contrib-uglify" not found. Is it installed? >> Local Npm module "grunt-contrib-jshint" not found. Is it installed? >> Local Npm…
Renganathan M G
  • 5,039
  • 2
  • 31
  • 35
1
vote
2 answers

How do I make the else statement work only if none of the If statements work

let music = 'on'; let phone = 'on'; if (music === 'off' || phone === 'off'){ console.log('Music or phone is off'); } if (music === 'on' && phone === 'on') { console.log('music is playing'); } if (music === 'off') { console.log('music is…
Purple
  • 11
  • 1
1
vote
2 answers

Polymer 2.x code works in jsbin but not in codepen, plunker or jsfiddle

The below code works properly in this jsbin but it does not work in either this codepen, this plunker or this jsfiddle. Why not? How can I get it to work in the three locations where it does…
Let Me Tink About It
  • 15,156
  • 21
  • 98
  • 207
1
vote
1 answer

HTML/Javascript Code works in JSbin but not codepen, plunker, or jsfiddle

The following code works in JSbin but not when I copy and paste it directly into codepen, plunker, or jsfiddle.
1
vote
1 answer

Javascript loop with alert

Hi I'm confused with alert and console.log var count = []; function iterate(number) { count.push(number); for (i = 0; i < count.length; i++) { console.log(count[i]); } } iterate(2); iterate(3); iterate(4); Console will…
user7855233
1
vote
1 answer

Polymer 1.x: Two-way databinding for paper-dropdown-menu

I want to set the paper-dropdown-menu to the value of 'Three' upon loading. I want to do this by data binding the value attribute of the paper-dropdown-menu to a sub property of the element called item.number which is set when registering the…
Let Me Tink About It
  • 15,156
  • 21
  • 98
  • 207
1
vote
3 answers

Make Website Quit Jumping to the Top of Page

So, the problem is that every time my cover/modal shows up on my website it tends to make the website jump back to top.I want Here are instructions to emulate the problem ,so you can see it: Go to this link:…
Kaleb Meeks
  • 111
  • 1
  • 1
  • 9
1
vote
2 answers

JSBin: How to create demo example's of sapui5?

I want share working live example of SAPUI5 on stackoverflow, but I don't know how to create the JSBin example or which things we have to add or is there any simple way to create demo example of JSBin.
Mahendra Kulkarni
  • 1,437
  • 2
  • 26
  • 35
1
vote
0 answers

Adding new library to jsbin

Trying to add Tangle.js as a new library on browser console. Can anyone tell us where I'm going wrong? var mylib = { text: 'Tangle', scripts: [ { text: 'Tangle.js', url: 'http://worrydream.com/Tangle/Tangle.js' } ] }; // the "My Library" object…
N Dubya
  • 33
  • 1
  • 4
1
vote
1 answer

Why is Font Awesome not working in JSbin?

I'm new to this so forgive me if the answer is obvious, but I can't figure out why my font awesome symbol is not appearing when I use JSbin. Any advice? The html is in and in the my css for font awesome in particular is at the very…
Dan
  • 27
  • 5
1 2
3
8 9