Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homework submission from Anastasia Schultis #12

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Schultisal
Copy link

No description provided.

js/app.js Outdated

// Create a function for the Submit buttom
function changeCity() {
console.log("clicked on Submit button")
Copy link

Choose a reason for hiding this comment

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

@Schultisal remove console.log 🔨

js/app.js Outdated

// use else or else if when you type in city name
// specify lowercase/uppercase for the cities
// if() {
Copy link

Choose a reason for hiding this comment

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

@Schultisal remove commented code 🔨

js/app.js Outdated
// } else if() {

if (city === "New York" || city === "NYC" || city === "New York City") {
$('body').css('background-image', "url('images/nyc.jpg')");
Copy link

Choose a reason for hiding this comment

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

@Schultisal the is an extra " next to url 🔨

js/app.js Outdated

if (city === "New York" || city === "NYC" || city === "New York City") {
$('body').css('background-image', "url('images/nyc.jpg')");
console.log("changed to NYC");
Copy link

Choose a reason for hiding this comment

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

@Schultisal remove console.log 🔨

js/app.js Outdated

else (city === "San Francisco" || city === "SF") {
$('body').css('background-image',"url('images/sf.jpg');
console.log("Changed to SF");
Copy link

Choose a reason for hiding this comment

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

@Schultisal remove the console.log 🔨

@rmjames
Copy link

rmjames commented Oct 17, 2017

@Schultisal good work on the assignment, just make a note of the comments

@rmjames rmjames added the Review label Oct 17, 2017
@rmjames
Copy link

rmjames commented Oct 22, 2017

@Schultisal 👍

@rmjames rmjames added Completed and removed Review labels Oct 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants