Here is the JavaScript code to make a blue bar slide down on click:
$('#comment').click(function(e) {
e.preventDefault();
$('#comment').slideDown();
});
}
This is the corresponding HTML code needed:
<div id="comment" class="alert alert-info" style="margin-top: 20px; display: none;"></div>
<button type="button" class="btn btn-default btn-sm" id="route_update">Edit</button>
However, despite implementing this code, the blue bar doesn't slide down as expected.