We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d632312 commit 7230056Copy full SHA for 7230056
1 file changed
code/solutions/17_1_shapes.html
@@ -4,7 +4,7 @@
4
<script>
5
let cx = document.querySelector("canvas").getContext("2d");
6
7
- function parallelogram(x, y) {
+ function trapezoid(x, y) {
8
cx.beginPath();
9
cx.moveTo(x, y);
10
cx.lineTo(x + 50, y);
@@ -13,7 +13,7 @@
13
cx.closePath();
14
cx.stroke();
15
}
16
- parallelogram(30, 30);
+ trapezoid(30, 30);
17
18
function diamond(x, y) {
19
cx.translate(x + 30, y + 30);
0 commit comments