diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index f3daf25..7506485 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -1,7 +1,11 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
+import { HomeComponent } from './home/home.component';
-const routes: Routes = [];
+const routes: Routes = [
+ { path: '', redirectTo: 'home', pathMatch: 'full' },
+ { path: 'home', component: HomeComponent },
+];
@NgModule({
imports: [RouterModule.forRoot(routes)],
diff --git a/src/app/app.component.html b/src/app/app.component.html
index 86ee7f5..635289f 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,8 +1,11 @@
+
-
-
+
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 02b95f1..1237d76 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -4,10 +4,12 @@ import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BooksModule } from './books/books.module';
+import { HomeComponent } from './home/home.component';
+import { HttpClientModule } from '@angular/common/http';
@NgModule({
- declarations: [AppComponent],
- imports: [BrowserModule, AppRoutingModule, BooksModule],
+ declarations: [AppComponent, HomeComponent],
+ imports: [BrowserModule, AppRoutingModule, BooksModule, HttpClientModule],
providers: [],
bootstrap: [AppComponent],
})
diff --git a/src/app/books/book-details/book-details.component.html b/src/app/books/book-details/book-details.component.html
index cec7084..33a4ea3 100644
--- a/src/app/books/book-details/book-details.component.html
+++ b/src/app/books/book-details/book-details.component.html
@@ -1,5 +1,5 @@
-
-
{{ book.tilte }}
+
+
{{ book.title }}
{{ book.subtilte }}