소스 검색

HW<09>done

GennadySht 2 년 전
부모
커밋
d50eafabf3
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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) {