Skip to content

Commit a6ebdd0

Browse files
authored
Update index.html
1 parent 7b7b807 commit a6ebdd0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3034,13 +3034,13 @@ <h3 itemprop="eduQuestionType" style="margin:7px">Area of a Circle Segment</h3>
30343034
<meta itemprop="disambiguatingDescription" content="Area based on the A(circle)=3.2*radius^2 formula, instead of the pi=3.14... approximation">
30353035
<meta itemprop="usageInfo" content="Enter the segment height and either the chord length or the radius of the parent circle. The other value will be discarded in the result.">
30363036
<label for="segment-height">Segment Height:</label>
3037-
<input id="segment-height" type="number" value="0" step="any">
3037+
<input id="segment-height" type="number" value="null" step="any">
30383038
<br>
30393039
<label for="chord-length">Chord Length:</label>
3040-
<input id="chord-length" type="number" value="0" step="any">
3040+
<input id="chord-length" type="number" value="null" step="any">
30413041
<br>
30423042
<label for="parent-radius">Circle Radius:</label>
3043-
<input id="parent-radius" type="number" value="0" step="any">
3043+
<input id="parent-radius" type="number" value="null" step="any">
30443044

30453045
<script>
30463046
function segmentArea() {
@@ -3053,7 +3053,7 @@ <h3 itemprop="eduQuestionType" style="margin:7px">Area of a Circle Segment</h3>
30533053
let known = [!isNaN(h), !isNaN(r), !isNaN(l)].filter(Boolean).length;
30543054
if (known < 2) {
30553055
document.getElementById('segment-area').innerText =
3056-
'Error: Provide one more known property';
3056+
'Enter one more property';
30573057
return;
30583058
}
30593059

0 commit comments

Comments
 (0)