Can you assist me with a coding issue I am facing? I have implemented a loadingbar on my webpage similar to YouTube, and it works perfectly on the page itself. However, when I try to integrate it with a navigation bar, it stops working. Below is the code snippet for my navigation bar. I am unsure of what the problem might be, so any help or solutions would be greatly appreciated. Thank you in advance.
<nav class="navbar navbar-expand-lg navbar-light bg-light" style="height:70px;width: 100%; position: fixed;top: 0;z-index: 999; box-shadow: 0 0 4px rgba(0,0,0,0.6); padding-right: 10px;">
</nav>