Skip to content

Commit 5df448f

Browse files
committed
Add area calculation alert to percentage exercise
1 parent ea0fca9 commit 5df448f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sprint-1/prep/percentage.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,11 @@ <h3 id="areaResult"></h3>
132132
}
133133

134134
})
135+
136+
const width= 5;
137+
const height=4;
138+
139+
alert ("area is "+ width* height );
140+
135141

136142
</script>

0 commit comments

Comments
 (0)