How to fix the slipping?

Hello!

Please tell me how to correct this code
https://jsfiddle.net/delux/w8avhf7k/11/


There are 4 points between them holds js svg line..but the coordinates of the line are calculated from the top of the browser, and adding the tag
<br / >
line goes to the bottom..

In General I can't this line to build a section on the website, as the line significantly away from the points

- please help to fix it
March 19th 20 at 08:36
1 answer
March 19th 20 at 08:38
Solution
https://jsfiddle.net/5pstegj2/

var svgLine = $('#svg-line');
// move this thing to the top of the parent container
svgLine.offset({top: 0})
Thank you very much!! - Josh33 commented on March 19th 20 at 08:41

Find more questions by tags jQueryJavaScript