I am working with Collapse "Accordion". When my page loads the first collapse is open by default, please suggest the way to make it close by default!!
Any help is appreciated. Thanks for help!!
<link href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet"></link>
<link href="/resources/demos/style.css" rel="stylesheet"></link>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div id="accordion">
<h3>
Click Here for answer:)</h3>
<div style color: "red;">
<b>Answer: </b>206 Bones
</div>
</div>
<script>
$(function() {
$("#accordion").accordion({
collapsible: true
});
});
</script>