This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
vuejs_course/2021-09-04_composition-assi.../src/App.vue

29 lines
685 B
Vue

<template>
<h2>My Course Goal</h2>
<!-- Task 1: Output your main course goal with help of the composition API -->
<!-- Don't hardcode it into the template, instead hardcode it into the JS code -->
<h3>OUTPUT COURSE GOAL</h3>
<!-- Task 2: Toggle (show/ hide) the goal with help of the button -->
<button>Toggle Goal</button>
<!-- Task 3: Manage data in three ways -->
<!-- => Separate refs -->
<!-- => Ref Object -->
<!-- => Reactive Object -->
<!-- Task 4: Also solve the assignment with the Options API -->
</template>
<script>
export default {
}
</script>
<style>
html {
font-family: sans-serif;
}
body {
margin: 3rem;
text-align: center;
}
</style>