-
-
Save gdyrrahitis/84ca8d194957ed791849b41ac7654b81 to your computer and use it in GitHub Desktop.
This file contains 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
// Chaining functions with jQuery | |
var banner = $('#banner-message'); | |
banner | |
.css('background-color', '#eee') | |
.fadeOut(300) | |
.fadeIn(250) | |
.append($('<hr>')) | |
.append($('<footer>', { text: 'This is the footer' })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment