diff --git a/index.php b/index.php
index 076f418..81bc771 100644
--- a/index.php
+++ b/index.php
@@ -1,47 +1,25 @@
-
-
-
-
-
-
-
- Demo
-
-
- 'Do Androids Dream of Electric Sheep',
- 'author' => 'Philip K. Dick',
- 'releaseYear' => 1968,
- 'purchaseUrl' =>'http://example.com'
- ],
- [
- 'name' => 'Projekt Hail Mary',
- 'author' => 'Andy Weir',
- 'releaseYear' => 2021,
- 'purchaseUrl' => 'http://example.com'
- ],
- [
- 'name' => 'The Martian',
- 'author' => 'Andy Weir',
- 'releaseYear' => 2011,
- 'purchaseUrl' => 'http://example.com'
- ]
- ];
- $filteredItems = array_filter($books, function($book) {
- return $book['author'] == 'Andy Weir';
- });
-
- ?>
-
-
-
\ No newline at end of file
+ 'Do Androids Dream of Electric Sheep',
+ 'author' => 'Philip K. Dick',
+ 'releaseYear' => 1968,
+ 'purchaseUrl' =>'http://example.com'
+ ],
+ [
+ 'name' => 'Projekt Hail Mary',
+ 'author' => 'Andy Weir',
+ 'releaseYear' => 2021,
+ 'purchaseUrl' => 'http://example.com'
+ ],
+ [
+ 'name' => 'The Martian',
+ 'author' => 'Andy Weir',
+ 'releaseYear' => 2011,
+ 'purchaseUrl' => 'http://example.com'
+ ]
+ ];
+ $filteredItems = array_filter($books, function($book) {
+ return $book['author'] == 'Andy Weir';
+ });
+ require "index.view.php";
\ No newline at end of file
diff --git a/index.view.php b/index.view.php
new file mode 100644
index 0000000..54aaa17
--- /dev/null
+++ b/index.view.php
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+ Demo
+
+
+
+
+
\ No newline at end of file