From 00e889c1770a004d045b80a5105bfdf7a3b70dbb Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Tue, 20 Jun 2017 17:51:32 -0400 Subject: [PATCH] Display more data in the HTML --- starwars/src/app/search/search.component.html | 20 +++++++++++- use_an_api.md | 32 +++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/starwars/src/app/search/search.component.html b/starwars/src/app/search/search.component.html index cf57b97..5020947 100644 --- a/starwars/src/app/search/search.component.html +++ b/starwars/src/app/search/search.component.html @@ -6,6 +6,24 @@

Search Results

diff --git a/use_an_api.md b/use_an_api.md index 044b69a..5305cce 100644 --- a/use_an_api.md +++ b/use_an_api.md @@ -13,6 +13,7 @@ 1. Add the ability to make AJAX requests 1. Make an AJAX request 1. Display AJAX results in app +1. Display more data in the HTML ## Create a new app @@ -212,3 +213,34 @@ Now add some HTML to `src/app/search/search.component.html` to display the resul ``` You can test this in the app + +## Display more data in the HTML + +Edit `src/app/search/search.component.html`: + +```html +
+

Search Results

+ +
+```