14 Matching Annotations
  1. Jul 2016
    1. {...}

      associative array goes here

    2.   #map { height: 100%; }

      isn't html and body already declared as having height of 100%?

      Why isnt' that enough?


      ANS :

      "Note that divs usually take their width from their containing element, and empty divs usually have 0 height. For this reason, you must always set a height on the

      <div> explicitly."

      </div>
    1. $

      alias for literally, "jQuery"

    2. #

      go get w/e element has a unique id of "symbol"

    3. return false;"

      we return false because by default we submit to the same webpage, and if we submit to the page then the page reloads-- not what we're looking for here

    4. <form onsubmit="quote(); return false;">

      is an event handler

      IT handles the event of a submission. :)

    1. #registration

      same as CSS, # refers to element ID

    2. input

      which child element do you want to manipulate, separated with a space

    3. [name=confirmation]

      like an associative array, looking for where the attribute name = confirmation

    1. .

      [dot] operator to access elements like structs in C.

    2. script src

      Point to an external JavaScript file: http://www.w3schools.com/tags/att_script_src.asp

    3. onsubmit attribute within our script, which we know is a valid event listener for a form element.

      from the list of event listeners