summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <leonardomtenenbaum@gmail.com>2016-10-16 12:22:11 -0400
committerpommicket <leonardomtenenbaum@gmail.com>2016-10-16 12:22:11 -0400
commitc1ff9cb3c1246fa38f194be67c5bc003a2e59357 (patch)
tree09f61f038093a81999e6faa95ca2c7066b82fbe8
parenta982632b1cc3218d74acec2b5f6a69ffc5e97ead (diff)
Removed <br>s from 2π explanation.
-rw-r--r--js/2pi.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/2pi.js b/js/2pi.js
index 0316a90..5297c07 100644
--- a/js/2pi.js
+++ b/js/2pi.js
@@ -94,8 +94,8 @@ function calculate()
+ "<table class='table table-bordered table-hover'> <tr><th></th><th>Your approximation</th><th>True value</th></tr><tr><td>2π</td><td>" + 2 * avgPi
+ "</td><td>" + TWO_PI + "</td></tr><tr><td>π</td><td>" +
+ avgPi + "</td><td>" + PI + "</table>" + percentError + "% error.<br>"
- + "The blue dot is the center of your shape. The green line is the average radius of the shape.<br>"
- + "The red circle is a circle with the same radius as your shape, and the orange circle is a<br>"
- + "circle with the same circumference as your shape. The closer they are, the better your<br>"
- + "approximation of π</div>");
+ + "The blue dot is the center of your shape. The green line is the average radius of the shape. "
+ + "The red circle is a circle with the same radius as your shape, and the orange circle is a "
+ + "circle with the same circumference as your shape. The closer they are, the better your "
+ + "approximation of π.</div>");
}