Skip to content

Commit 0f08a0d

Browse files
Adam JahrAdam Jahr
authored andcommitted
L3 ending code
1 parent 7db8263 commit 0f08a0d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="product-display">
1616
<div class="product-container">
1717
<div class="product-image">
18-
<!-- image goes here -->
18+
<img v-bind:src="image">
1919
</div>
2020
<div class="product-info">
2121
<h1>{{ product }}</h1>

main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const app = Vue.createApp({
22
data() {
33
return {
4-
product: 'Socks'
4+
product: 'Socks',
5+
image: './assets/images/socks_green.jpg'
56
}
67
}
78
})

0 commit comments

Comments
 (0)