Js of code area of triangle

const baseValue = prompt('Enter the base of a triangle: ');
const Height Value = prompt('Enter the height of a triangle: ');

// calculate the area
const Area Value = (Base Value * Height Value) / 2;

console.log(
  `The area of the triangle is ${areaValue}`
);

Please explain what your problem is.

A post was merged into an existing topic: Border style code