Skip to content

HW4 Submission by Josh Cooper - #8

Open
jcooper8190 wants to merge 2 commits into
FEWD87:masterfrom
jcooper8190:master
Open

HW4 Submission by Josh Cooper#8
jcooper8190 wants to merge 2 commits into
FEWD87:masterfrom
jcooper8190:master

Conversation

@jcooper8190

Copy link
Copy Markdown

No description provided.

Comment thread js/app.js

//match entry with proper css class (name of city)

if(city === "NYC" || city === "new york city" || city === "new york" || city === "New York" || city === "New York City" || city === "nyc"){

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcooper8190 good look to cover the cover the lower and uppercased values on entry. You could have also used toUpperCase and toLowerCase to have the conditional case match the case of the the inputed values.

@rmjames

rmjames commented Jun 21, 2016

Copy link
Copy Markdown

@jcooper8190 good work 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants