Skip to content

Commit

Permalink
works
Browse files Browse the repository at this point in the history
  • Loading branch information
yongzhihuang committed Aug 30, 2016
1 parent bf25da1 commit 6d20e54
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions gitBisect/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
<h3 class="text-muted">Git Bisect by PentaCode</h3>
</div>

<div class="jumbotron jumbotron-part-two">
<h1>Something Happened!</h1>
<p>Yay!</p>
</div>

<div class="jumbotron">
<h1>PentaCode</h1>
<p><a class="btn btn-lg btn-success btn-do-something" href="#" role="button">Make Something Happen</a></p>
Expand Down
8 changes: 7 additions & 1 deletion gitBisect/script.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
$(function() {
console.log('works');
$('.btn-do-something').on('click', function() {
$('.jumbotron').slideUp(200, function() {
$('.marketing').fadeOut(200, function() {
$('.jumbotron-part-two').fadeIn();
});
});
});
});
4 changes: 4 additions & 0 deletions gitBisect/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
body {
background-color: #4295c7;
}

.jumbotron-part-two {
display: none;
}

0 comments on commit 6d20e54

Please sign in to comment.