This the result of the proposed exercise in first part of the course (Este es el resultado del ejercicio propuesto en la primera parte del curso)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>WasteGas</title>
</head>
<body>
<h3>¿Gas or Alcohol?</h3>
<script>
var dist = 480;
var liter = 40;
var waste = dist / liter;
document.write("A car wastes " + waste + " liters of gas per kilometer");
</script>
<br>
<br>
<script>
var dist = 300;
var liter = 40;
var waste = dist / liter;
document.write("A car wastes " + waste + " liters of alcohol per kilometer");
</script>
</body>
</html>