-
Notifications
You must be signed in to change notification settings - Fork 45
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
Leah Bueing - unfinished #42
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start on waves 1-2. I put in a few comments here, but a good first couple of waves.
<script type="text/javascript" src="scripts.js"></script> | ||
</body> | ||
|
||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More Semantic HTMl should probably be used.
|
||
<script src="js/vendor/jquery.js"></script> | ||
<script src="js/vendor/foundation.min.js"></script> | ||
<script src="js/vendor/what-input.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice use of Foundation
set: switchInput | ||
}; | ||
|
||
}()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not quite sure what this file is doing, it looks like letting you detect events on specific keys, mousewheel etc.
$('body').on('click', 'button', function() { | ||
console.log('clicked'); | ||
$.get(url, successCallback); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would also be good to have a response when the API get request fails.
$('#category').text(trip.category); | ||
$('#weeks').text(trip.weeks); | ||
$('#cost').text('$' + trip.cost); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, it would also be good to do some error-handling.
I am still working on on wave 3, and making trek look nicer. Hopefully I will get a chance to finish soon!