- Download this application skeleton.
- Convert the app to use AJAX.
- Add any files you changed to your gist and submit your code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function(){ | |
| $("#previous_frame").on("click", function(){ | |
| var $last = $('.frames li:last-child'); | |
| $('.frames').prepend($last); | |
| $last.css({left:'-33%'}); | |
| $last.animate({left:'0%'}); | |
| }); | |
| $("#next_frame").on("click", function(){ | |
| var $first = $(".frames li:first-child"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ("h1").css("background-color", "pink"); | |
| $("h1").text("!"); | |
| $(".user a").text("Coyotes!"); | |
| $(".email a").text("The cooliest cohort ever!"); | |
| $(".user a:first").text("mystery!"); |
- Download this application skeleton.
- Convert the app to use AJAX.
- Add any files you changed to your gist and submit your code.