JavaScript, Part 3

Here are some examples with a bit of annotation that I hope are helpful to you in your JavaScript adventures!
— David

Template Examples

{
    "apples" : [
                  "Granny Smith",
                  "Macoun",
                  "Empire",
                  "Honey Crisp",
                  "Albemarle Pippin"
                ],
    "oranges" : [
                  "Naval Orange",
                  "Tangelo",
                  "Clementine",
                  "Valencia Orange"
                ]
   }

Maps Examples

☹ So the mistake I made in class was not including my JavaScript that was creating the map in the HTML page, as in
<script src="scripts/map-1.js> </script>

I'll focus on the use of LeafletJS and OpenStreetMap (OSM) tiles.