Page 311 - MDP2022-3
P. 311

var  month  =  dateInfo.getMonth()+1;
                                    var  date  =  dateInfo.getDate();
                                    document.getElementById("time").innerHTML  =  hour  +  ":"  +  min    +  ":"  +  sec;
                                    document.getElementById("date").innerHTML  =  year  +  "년  "  +  month  +  "월  "  +  date  +  "
            일";
                            }
                            function  modifyNumber(time){
                                    if(parseInt(time)<10){
                                            return  "0"+  time;
                                    }
                                    else
                                            return  time;
                            }
                            window.onload  =  function(){
                                    setClock();
                                    setInterval(setClock,1000);
                            }
                          </script>
                          <div  id="time"  class="time"></div>
                          <div  id="date"  class="date"></div><br><br><br>

                          <section>
                            <form  action="https://search.naver.com/search.naver">
                                    <div  class="search"  style="display:  inline">
                                            <input  type="text"  name="query"  value="">

                                            <button  class="custom-btn  btn-1">검색</button>
                                    </div>
                            </form>
                    </section><br><br>
                    <pre><a   href="weather/w.html"   style="font-size:   1.5em"   class="custom-btn   btn-4"   >
                  날씨                                  </a></pre>
                    <img  src="{{url_for('static',filename='img/weeee.webp')}}"  width="400px"  height="300px">
                    </div>




            </body>

            </html>
            3.html


            <!doctype  html>
            <html>

            <head>
                <title>실시각  버스위치</title>
                <meta  charset="utf-8">
                <link  href="{{  url_for('static',  filename='css/style.css')  }}"  rel="stylesheet">
                <link  href="{{  url_for('static',  filename='css/ain.css')  }}"  rel="stylesheet">
                <link  href="{{  url_for('static',  filename='css/qoei.css')  }}"  rel="stylesheet">
                <link  rel="preconnect"  href="https://fonts.googleapis.com">
                    <link  rel="preconnect"  href="https://fonts.gstatic.com"  crossorigin>
                    <link  href="https://fonts.googleapis.com/css2?family=Do+Hyeon&display=swap"  rel="stylesheet">
            </head>

            <body>
                <div  style="border:  10px  solid  black;  float:  left;  width:  33%;  height:  95%">
   306   307   308   309   310   311   312   313   314   315   316