I'm trying to change the background color from blue to a different color when a button is clicked. However, the code I've written so far doesn't seem to be working.
HTML
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<div id="app">
<button v-on:click="dissapear" id="bluebaloon">
</button>
</div>
CSS
#bluebaloon{
background-color:blue;
height:100px;
width:100px;
border-radius:50px;
}
JS
var app = new Vue({
el :'#app',
methods:{
dissapear: function(){
this.dissapear.style.backgroundColor = "red";
}
}
});