I have created a button with classname, and I have created jquery and css as well but why can't be active
this is my html code
<div class="landing-pages-button-content">
<a class="btn" id="semua">Semua</a>
<a class="btn" id="pria">Pria</a>
<a class="btn" id="wanita">Wanita</a>
</div>
this id my css file
.active, .btn:hover {background-color: #ff7400;color: white; border: none;}
and the last this is my jquery
$(document).ready(function () {
$(".btn").click(function () {
$(this).addClass("active");
$(".btn").not(this).removeClass("active");
});
);