I'm new to the front end in general, I have basic knowledge of html and css, I'd like to use materialize and understand this function here. link
As I try to use these codes on the page only I can not use the Toggle Scale on my page
<!-- Scaled in -->
<a id="scale-demo" href="#!" class="btn-floating btn-large scale-transition">
<i class="material-icons">add</i>
</a>
<!-- Scaled out -->
<a id="scale-demo" href="#!" class="btn-floating btn-large scale-transition scale-out">
<i class="material-icons">add</i>
</a>
I have already inspected the page itself to see how they did it but in practice I can never use this function to click and hide an object, I copied the codes to mine but it still does not work (the materialize files are organized and copied the html they recommend)
<a id="scale-demo-trigger" href="#!" class="btn right">Toggle Scale</a>
I even used this source code above the page to activate the Toggle Scale but it still does not work, I would like a functional example if possible for me to understand in practice, thanks in advance.