Javascript (Mise List, button_onclick)

·

1 min read

[Button_onclick]

 <script>
        function hey() {
            alert('안녕!')
        }
    </script>

</head>

<body>
    <div class="mytitle">
        <h1>Best Movies of My Life</h1>
        <button onclick="hey()">Archive🌞</button>

[Odd & even number]

if count % 2 equals to 0... even! odd! even! (count increases)