|
Create an HTML document called distance.html
that displays 2 pairs of text boxes. The text boxes should be labeled
x1, y1 and x2, y2. Create a Javascript that extracts the values from the
text boxes and calculates the distance between the points whose coordinates
are (x1, y1) and (x2, y2). |