Skip to content

Pull Request- Please review my code#16

Open
Brendonfatland wants to merge 3 commits intoThinkful-Ed:gh-pagesfrom
Brendonfatland:gh-pages
Open

Pull Request- Please review my code#16
Brendonfatland wants to merge 3 commits intoThinkful-Ed:gh-pagesfrom
Brendonfatland:gh-pages

Conversation

@Brendonfatland
Copy link

Thank you

var displayName = result.find(".display-Name");
displayName.text(answer.user.display_name);
// Finds userprofile in template. adds in attr
var userProfile = result.find(".user-Profile");
Copy link
Contributor

Choose a reason for hiding this comment

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

Watch the quote's. You started off using single quotes, then switched to double. They should be consistent.

$('.inspiration-getter').submit(function(e){
e.preventDefault(); //
//Zero old results
$('.results').html('');
Copy link
Contributor

@aric87 aric87 Sep 23, 2016

Choose a reason for hiding this comment

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

you should trim the input, that way you don't end up searching for %20javascript%20%20 with all that spaces

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