Hey there! I'm a bit stuck on how to incorporate the sidebar from semantic ui into my project. Specifically, I want to utilize the first example provided in their documentation.
If you're interested, you can check out the details here:
I attempted to simply copy and paste the entire div section into my HTML file. As for the JavaScript part (or at least I think it's JavaScript), I tried using:
$('.left.demo.sidebar')
.sidebar('toggle')
;
I experimented with placing this code within a button onclick event and also inside a function which I then called using an href attribute, but unfortunately, the sidebar still isn't showing up. Any idea what mistake I might be making?