main.html 1.8 KB
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <script src="https://developers.kakao.com/sdk/js/kakao.js"></script>

  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="main.css">
</head>
<body>
  <section>
    <div class="container">
      <h1 class="brand">Recipe APP</h1>
      <form>
        <input id="name" type="text" placeholder="Search Your Recipe..ex) pizza">
        <ion-icon name="search"></ion-icon>
      </form>
      <p>
        <input type='checkbox'
         name='chkbox[]' 
         value=800
         onclick='getCheckboxValue(event)'/> 800
         <input type='checkbox'
         name='chkbox[]' 
         value=1200
         onclick='getCheckboxValue(event)'/> 1200
         <input type='checkbox'
         name='chkbox[]' 
         value=1600
         onclick='getCheckboxValue(event)'/> 1600
         <input type='checkbox'
         name='chkbox[]' 
         value=2000
         onclick='getCheckboxValue(event)'/> 2000
        </p>
<!--       <select id="selectBox">
        <option value="800" >800</option>
        <option value="1200">1200</option>
        <option value="1600" >1600</option>
      </select> -->
      <div class="search-result">
        <!--<div class="item">
          <img src="./0.jpg" alt="">
          <div class="flex-container">
            <h1 class="title">This is a recipe</h1>
            <a href="#">View Recipe</a>
          </div>
          <p class="item-data">Calories: 120</p>
        </div>-->
      </div>
    </div>
  </section>
  <script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
  <script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
  <script src="./main.js"></script>
</body>
</html>