Jump to content

jazzyscript

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by jazzyscript

  1. I want to use the Bootstrap navbar on my site. What's the proper way to make it show up on every page?

     

    1) Just copy the html.

    2) Change the links into buttons and use jquery to load/unload.

    3) Something else??

  2. I fixed it. Had to learn some HTML5.

     

    It wasn't a number because I was using input type="text". I thought it would do that conversion automatically.

     

    I fixed it with <input type="number" step="0.1"> since I want users to be able to enter floats.

  3. I am trying to make a total that accumulates, like so:

     

    $scope.total = 0;

    ...

    $scope.total += $scope.amountIn;

     

    But even when amountIn is a number, the values are concatenated. Yet if I try a multiplication operation like so:

     

    $scope.total = 10 * $scope.amountIn;

     

    It does the math! I've never had this problem with regular javascript. Help?

  4. Hello all.

     

    I am a short blue-eyed Virgo. I'm also a newbie web developer. I took VB and C++ in college but it was a long time ago (before OOP was a thing). Now I'm trying to get back into programming. I just started out with Javascript, jQuery, Angular, Bootstrap, and PHP. w3schools has been very helpful!

×
×
  • Create New...