I'm fairly new to programming so this question might be dumb.
So what I'm trying to do is to create a new div with other divs and images inside it when I press a button.
I've tried many things from other websites but they didn't quite do what i wanted.
This is what I'm trying to add when pressing a button:
<div class="item rarity1"> <img src="example.png"/> <div class="value">$87.03</div> <div class="subtext">Test</div> </div>