diff --git a/app.js b/app.js index 334ecd308..10d708240 100644 --- a/app.js +++ b/app.js @@ -1,12 +1,11 @@ const app = Vue.createApp({ data() { return { - url: 'https://www.thenetninja.co.uk', showBooks: true, books: [ - { title: 'name of the wind', author: 'patrick rothfuss', img: 'assets/1.jpg' }, - { title: 'the way of kings', author: 'brandon sanderson', img: 'assets/2.jpg' }, - { title: 'the final empire', author: 'brandon sanderson', img: 'assets/3.jpg' }, + { title: 'name of the wind', author: 'patrick rothfuss', img: 'assets/1.jpg', isFav: true }, + { title: 'the way of kings', author: 'brandon sanderson', img: 'assets/2.jpg', isFav: false }, + { title: 'the final empire', author: 'brandon sanderson', img: 'assets/3.jpg', isFav: true }, ], } }, diff --git a/index.html b/index.html index 76a488560..e1c57ef3d 100644 --- a/index.html +++ b/index.html @@ -5,13 +5,28 @@ Learning Vue @@ -19,13 +34,9 @@

Hello, Vue :)

- - - Best website ever! -