How can I draw lines with html, css and js : <p>I'm working on a Personal web project I need to draw lines from 2 inputs to a third one.</p>

<p>How can I draw the lines (D in picture) using HTML, CSS and Js ?</p>

<p><a href="https://i.stack.imgur.com/IC4eH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IC4eH.png" alt="enter image description here"></a></p>

<p><strong>EDIT:</strong> Ths inputs can be inside div blocks.</p>
