GennadySht vor 2 Jahren
Ursprung
Commit
d50eafabf3
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  1. 0 3
      js/09/hw09_07closure calc 2.html

+ 0 - 3
js/09/hw09_07closure calc 2.html

@@ -1,6 +1,5 @@
 <head>
     <h1>closure calc 2</h1>
-
 </head>
 
 <body>
@@ -8,7 +7,6 @@
     <select id='to'></select> <br>
     <div id='rate'></div><br>
     <input type='number' id='amount' /><br>
-
     <div id='result'></div>
     <script>
         fetch(`https://open.er-api.com/v6/latest/USD`)
@@ -22,7 +20,6 @@
                     option = document.createElement("option");
                     option.innerText = curr1;
                     to.append(option);
-
                     let curr1Rates = {};
                     crossRates[curr1] = curr1Rates;
                     for (const curr2 in data.rates) {