on click show code example
Example 1: hide show toggle
$(document).ready(function() {
$("#btnshow").click(function() {
$("#imgshow").slideToggle();
});
})
Example 2: how to make a div appear onclick
function showDiv() {
document.getElementById('sign-in').style.display = "block";
}