scrimba
Preview
Methods
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Methods
Expand for more info
index.html
run
preview
console
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>

<!-- Let's add Vue here -->
<div id="app">

<input name="field" />

<button>Click ME</button>

</div>

<script>
var app = new Vue({
el: '#app',
data: {
field: '',
}
});
</script>
</body>
</html>
Console
index.html
-4:22