Commit 7f5d3115 authored by Abdelkarim Mateos's avatar Abdelkarim Mateos

End Lesson Loops

parent 06327d50
......@@ -8,6 +8,9 @@
<body>
<div id="shopping-list">
<h1>{{ header.toLocaleUpperCase() }}</h1>
<ul>
<li v-for="item in items">{{ item }}</li>
</ul>
</div>
<script src="https://unpkg.com/vue"></script>
......@@ -16,6 +19,11 @@
el: '#shopping-list',
data: {
header: 'shopping list app',
items: [
'10 party hats',
'2 boards games',
'20 cups'
]
}
})
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment