Skip to content
/ week-2 Public
forked from jacobkap/week-2

Javascript fundamentals continued - arrays, loops, functions

Notifications You must be signed in to change notification settings

rfinfer/week-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Week 2

As always: make a copy of this repository to commit changes to

Week 1 Review

Git/Github continued

  • Forking
  • Pull requests (turning in assignments)

Javascript Fundamentals

  • Data types
  • Conditions
  • Arrays
  • Functions

Assignment

Code Academy

Project

We're producing a simple map to help people find health centers in the Philadelphia area. Our application has two goals:

First, we'd like to provide this data in javascript arrays. We should print these arrays to the console.

  • On application start, use console.log to show an array of arrays in which the first sub-array contains keys and the rest of the arrays contain the 'rows' of our data
  • An example of what this would look like for a different dataset: [["name", "job"],["Bruce Springsteen", "Musician"],["Terry Gross", "Journalist"]]

Second, we want to know where the health centers are located within the zip codes from 19140 to 19149 (inclusive).

  • All and only markers found within the zip code range from 19140 to 19149 should appear
  • Each marker should have a popup when clicked which tells us the location name

Extra

Some health centers offer dental services as well. Can you find a way to give centers that provide dental services a different icon than those that do not?

About

Javascript fundamentals continued - arrays, loops, functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 40.3%
  • HTML 30.3%
  • CSS 29.4%