Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
.button {
color:rgb(4, 26, 9) !important;
border-color: rgb(122, 153, 119) !important;
color: rgb(87, 129, 83) !important;
color: #000 !important;
<script src=""></script>
<div id="app-2">
<p>{{ message }}</p>
<button class="button" v-on:click="reverseMessage">Ters Çevir</button>
var app5 = new Vue({
el: '#app-2',
data: {
message: 'Bilgisayar Mühendisi'
methods: {
reverseMessage: function () {
this.message = this.message.split('').reverse().join('')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.