Skip to content

Instantly share code, notes, and snippets.

@vg22
Created June 12, 2016 18:39
Show Gist options
  • Save vg22/3cb36495bd3fae68c46acda3a318d21b to your computer and use it in GitHub Desktop.
Save vg22/3cb36495bd3fae68c46acda3a318d21b to your computer and use it in GitHub Desktop.
<script>
$(document).ready(function() {
$("#getMessage").on("click", function(){
// Only change code below this line.
$(".message").html("Here is the message");
// Only change code above this line.
});
});
</script>
<div class="container-fluid">
<div class = "row text-center">
<h2>Cat Photo Finder</h2>
</div>
<div class = "row text-center">
<div class = "col-xs-12 well message">
The message will go here
</div>
</div>
<div class = "row text-center">
<div class = "col-xs-12">
<button id = "getMessage" class = "btn btn-primary">
Get Message
</button>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment