Start with Python
This commit is contained in:
9
3-front-end/6-css-challenge/application.js
Normal file
9
3-front-end/6-css-challenge/application.js
Normal file
@ -0,0 +1,9 @@
|
||||
(function($, window, document) {
|
||||
$(function(){
|
||||
var lastParagraph = $('#about p:last-child()')
|
||||
var aboutHeader = $('#about h2')
|
||||
aboutHeader.on('click', function(event){
|
||||
lastParagraph.toggle()
|
||||
})
|
||||
});
|
||||
}(window.jQuery, window, document));
|
Reference in New Issue
Block a user