I need to update the border color of a div element, but I'm encountering issues when using a bootstrap class on the div. Is there a way to change the border color using Javascript?
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="384a494e47504743604202475d4d515f515f425d49585140407d0a0a">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<div class="p-1 border bg-light" align="center" id="101">No</div>
<script type="text/javascript">
document.getElementById("101").style.border = "1px solid #ff0000"; // Change in not made
document.getElementById("101").innerHTML = "Yes"; // Change is made
</script>