Skip to content

Jesse Lewis submitting weather app hw#4

Open
Lazercat wants to merge 1 commit intowdi-atx-12:masterfrom
Lazercat:master
Open

Jesse Lewis submitting weather app hw#4
Lazercat wants to merge 1 commit intowdi-atx-12:masterfrom
Lazercat:master

Conversation

@Lazercat
Copy link

No description provided.

Copy link

@BritneyJo BritneyJo left a comment

Choose a reason for hiding this comment

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

Next time you can google for a CDN for the flag library instead of downloading and using node to install. That will eliminate having hundreds of files you have to add to the repo: https://cdnjs.com/libraries/flag-icon-css


function requestWeatherData() {

var x = $("form").serialize();

Choose a reason for hiding this comment

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

Try using a variable with a more descriptive name. "X" could literally represent anything.

error: onError
});

function clearValues(){

Choose a reason for hiding this comment

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

You've cleared all of these inputs with a space. You can also just clear by reseting to ('').

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants