Skip to content

TJ weather app with out css#3

Open
TheTeejers wants to merge 3 commits intowdi-atx-12:masterfrom
TheTeejers:master
Open

TJ weather app with out css#3
TheTeejers wants to merge 3 commits intowdi-atx-12:masterfrom
TheTeejers:master

Conversation

@TheTeejers
Copy link

No description provided.

@BritneyJo
Copy link

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

$(document).ready(function(){
console.log('JQuery doing stuff');
//eventually, this should be triggered by search button click/submit
requestWeatherData();

Choose a reason for hiding this comment

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

watch your indents!!

$(".temperature").text('');
$(".humidity").text('');
$(".results-city").text('');
$(".results-flag").text('');

Choose a reason for hiding this comment

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

Since you're doing the same thing here by clearing out the text, you can write this in one line with the jquery selectors comma separated.

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