I am creating a horizontal timeline where the new element needs to be appended as per requirement.
I need to add new li ,div tags to ol dynamically using javascript in below code This is my html code
<section class="timeline">
<ol>
<li>
<div>
<time>1934</time> mycode
</div>
</li>
</ol>
</section>
I am new to technology. Could you please help.