title: Area of the circle
body: <p>So I created a .js file to calculate the area of a circle and calculateArea() needs to calculate it.
  The only thing that it does is the prompt(). What am I doing wrong?</p>
  
  <pre><code>function calculateArea(myRadius){
    var area = (myRadius * myRadius * Math.PI);
    return area;
  
    function MyArea(){
      calculateArea(myRadius);
      alert("A circle with a " + myRadius + 
            "centimeter radius has an area of " + area + 
            "centimeters. &lt;br&gt;" + myRadius + 
            "represents the number entered by the user &lt;br&gt;" + area +
            "represents circle area based on the user input.");  
    }      
  }
  var myRadius = parseFloat(prompt("Enter the radius of your circle in cm:",0));
  calculateArea(myRadius);
  </code></pre>