I am new in JavaScript and i run into a lot of problems, most of them I already found a solution, but there is a problem that I don't know how to fix it, it might seem sample but I struggled a lot with this problem and didn't found an answer.
So lets say that I have a <ul>
like the given one:
<ul>
<li>my content 1</li>
<li>my content 2</li>
<li>my content 3</li>
</ul>
How am I supposed to get the content from that <li>
to use it in my code?