Untitled

 avatar
unknown
plain_text
5 months ago
606 B
3
Indexable
<html>
  <head>
  </head>
  <body>
    <center>
      <img id="foto" style="width:300px; height:300px;">
    </center>
    <script>
      var stina = window.prompt("Jepni stinen :");
      if (stina == "spring") {
        document.getElementById("foto").src = "pranvera.jpg";
      } else if (stina == "summer") {
        document.getElementById("foto").src = "vera.jpg";
      } else if (stina == "autumn") {
        document.getElementById("foto").src = "vjeshta.jpg";
      } else {
        document.getElementById("foto").src = "dimri.jpg";
      }
    </script>
  </body>
</html>
Editor is loading...
Leave a Comment