Exámenes - Muestra monedas

En este ejercicio se debe crear un programa que muestre varias monedas con valor 1, 2 y 5 y calcule el valor total.

Muestra monedas - Comentarios

Muestra monedas - Ejemplo de código HTML

  <h1>Muestra 3 monedas</h1>

  <p>
    <img src="img/monedas/5.svg" alt="5" title="5" width="100px" height="100px">
    <img src="img/monedas/2.svg" alt="2" title="2" width="100px" height="100px">
    <img src="img/monedas/1.svg" alt="1" title="1" width="100px" height="100px">
  </p>

  <p>Total: 8</p>