Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Binary Translator made in javascript not working

 
Ranch Hand
Posts: 83
Android Python Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first off here is all my code:
second, here is the body of my html:
third, here is my javascript:

the binary translator is working. I want my integer to binary translator to work. I have no idea, so I really just need some answers. heres a link to it all in js fiddle >>JSFiddle Project
Thanks in advance!
 
Rocky Rocha
Ranch Hand
Posts: 83
Android Python Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Update: Made the javascript code simpler, and took out some steps that were unnecessary.


the JSFiddle link should take you to a fiddle with the updated code just in case, here it is again >>the fiddle
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic