×
×
Correct!
Fill in the missing code so that the input gets a two-way binding with the 'inpText' data property.
<template>
<input type="text" @(17)>
<p> {{ inpText }} </p>
</template>
<script>
const app = Vue.createApp({
data() {
return {
inpText: 'Initial text'
}
}
})
app.mount('#app')
</script>
<template>
<input type="text" v-model="inpText">
<p> {{ inpText }} </p>
</template>
<script>
const app = Vue.createApp({
data() {
return {
inpText: 'Initial text'
}
}
})
app.mount('#app')
</script>
<template>
<input type="text" v-model='inpText'>
<p> {{ inpText }} </p>
</template>
<script>
const app = Vue.createApp({
data() {
return {
inpText: 'Initial text'
}
}
})
app.mount('#app')
</script>
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 54 exercises.
Are you sure you want to continue?