diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..a1251e8 100644 --- a/02-triangleArea/index.js +++ b/02-triangleArea/index.js @@ -1,3 +1,4 @@ export function triangleArea(base, height) { - // your code here + let area = (base*height)/2; + return area; } \ No newline at end of file