This is what I have so far, the directions state "Create a page in which you have a form that asks the user to enter an amount in meters. When they click the button, your form should retrieve that value and convert it into feet. The conversion is 1 meter = 3.28 feet. Have variables to store each (feet and meters). Then output (in an alert box), the result in feet." So basically I can't figure out how to ask user to input X amount and then include that in the function.

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Meters to feet conversion</title>

<script type="text/javascript">
function metersToFeet()
var meters;
var feet;

amountOfMeters = prompt("Give me a number.", "");
total = (amountOfMeters * 3.28);



<h1>Convert meters to feet</h1>

<input type="button" value="Convert meters to feet"
name="btnSubmit" onclick="metersToFeet()">