AJAX Todo
** DO NOT MERGE SOLUTION PULL REQUESTS INTO THIS REPOSITORY **
Learning Objectives
-
- Making an AJAX request from form input
- Rendering HTML partials in response to an AJAX request
- Altering the DOM with the response from an AJAX request
- Rendering JSON in response to an AJAX request
- Altering the DOM based upon JSON data.
- Using client side templates to alter the DOM
Summary
In this challenge you will take a working todo app and add modify the requests to work with AJAX
Releases
Release 1
- Modify the existing requests to submit a new todo so it uses AJAX to submit the request and jQuery to render the response on the page if the request is successful. Use a string for the response.
Release 2
- Implement complete with AJAX.
- Change the DOM complete form to a simple link or button.
Release 3
- Add delete functionality so a user can delete any completed or non completed todo.
Release 4
- Redo Release 1 with a partial in the response.
- Redo Release 1 with JSON in the response.
Release 5
- Wow there cowboys... have you REALLY been doing this all without tests? This would be a great time to add some it. Cabybara and rspec first, then try some Jasmine.
Submit a Pull Request after each Release.
DO NOT MERGE SOLUTION PULL REQUESTS INTO THIS REPOSITORY