<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vue Basics</title>
    <link href="https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap" rel="stylesheet" />
    <link rel="stylesheet" href="styles.css" />
    <script src="https://unpkg.com/vue@next" defer></script>
    <script src="app.js" defer></script>
</head>

<body>
    <section id="events">
        <header>
            <h1><a :href="vueUrl">Vue</a> Events</h1>
        </header>
        <h2>Events in Action</h2>
        <button @click="add(10)">Add 10</button>
        <button @click="reduce(5)">Subtract 5</button>
        <p>Result: {{ counter }}</p>
        <input type="text" v-model="name">
        <input type="text" v-model="lastName">
        <button @click="resetInput">Reset Input</button>
        <p>Your Name: {{ fullName }}</p>
    </section>
</body>

</html>
