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

Rives Wave #3 #45

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

Rives Wave #3 #45

wants to merge 9 commits into from

Conversation

jm-rives
Copy link

@jm-rives jm-rives commented Dec 2, 2016

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

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

Pretty good work here. I've made a few suggestions, but overall pretty good!

You covered the essential bases.


var callback = function() {
console.log("Success!");
};

Choose a reason for hiding this comment

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

I would also suggest when the post succeeds changing something on the DOM to tell the user about it.

var onTripClicked = function(event) {
event.preventDefault();
$.get(this.href, onTripDetailsArrived);
};

Choose a reason for hiding this comment

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

Very good,

I'd also suggest doing something when the request fails.

</script>
<script type="text/javascript" src="scripts.js"></script>
</body>

Choose a reason for hiding this comment

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

Not bad, but I would suggest more semantic HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants