Help with javascript

Discussion in 'Computing, Science, and Technology' started by butteronaroll, Sep 28, 2010.

  1. butteronaroll

    butteronaroll New Member

    Joined:
    Jan 1, 2008
    Messages:
    100
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    Hey all I'm a freshmen in college going for computer science.

    anyways I need some help with this lab. What I am suppose to do is to have a prompt come up and ask the user to enter a variable and the convert it from seconds to hours, minutes and seconds.

    so any help would be greatly appreciated!

    Edit:
    Oh ahaha i feel like an idiot now i found the problem i forgot a " in
  2. Bazinga

    Bazinga Member

    Joined:
    May 23, 2010
    Messages:
    415
    Likes Received:
    3
    Device:
    4G iPod touch
    Yes, you missed a ", but that's not all. YOu typed in parse.Float. it's parseFloat
    Change that, and your code's perfect.

Share This Page