I have this button that I did in vue component file.
<td>
<button id="save" type="submit" class="btn btn-primary my-2" v-on:click="added"> Add to Email List </button>
</td>
I want to make this button changed color & text when clicked by user. Example before click, "Add to email list" will be displayed, once clicked "Added" will be displayed instead and the color will be changed (currently in the css the color is blue, and I want to change it to green once clicked). Any help would be greatly appreciated. Thank you!