www.webdeveloper.com
Results 1 to 5 of 5

Thread: Help on this small project?

Hybrid View

  1. #1
    Join Date
    Jun 2012
    Posts
    4

    Unhappy Help on this small project?

    Hi guys, I'm learning to code and so I chose javascript because of it's simplicity. I've been at it for some months now, so I decided to try out my new skills with a simple calculator project. I thought it would be easy, and it was, to a point. After running some tests, I found out that the add(), subtract(), multiply(), and divide() methods work only partially and the last one, doesn't work at all.

    I think I'm doing this right, but I don't know, you tell me.

    The Calculator.zip

  2. #2
    Join Date
    Nov 2007
    Posts
    409
    Can you link to a webpage with the code rather than a zip file?

  3. #3
    Join Date
    Jun 2012
    Posts
    4
    It's ok you guys, I solved my problem. All it took was a change in the expressions. Still there are some other problems that have turned up. Here's a link to the original project, and a link to the fixed version. The Calculator version 1 The Calculator version 2

    A problem that's really a technical issue I wish to address is that the program can't do multiple operations at once from the buttons, to do this you need to press equal every time you want to do the operations in sequence.

  4. #4
    Join Date
    Jun 2012
    Posts
    4

  5. #5
    Join Date
    Jun 2012
    Posts
    4
    Hey guys, really, if you want to help me with this code in making it better, that would be great!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles