Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit d67cf0a

Browse files
committed
Adds better accessible UI with the View button.
1 parent ba4a1c9 commit d67cf0a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<label for="location-search">Search for a new place</label>
22
<input id="location-search" #search placeholder="Ex: Chicago"><button
33
(click)="searchHousingLocations(search.value)">Search</button>
4-
<article *ngFor="let location of results" (click)="selectHousingLocation(location)">
4+
<article *ngFor="let location of results">
55
<img [src]="location.photo" [alt]="location.name">
66
<p>{{location.name}}</p>
77
<p>{{location.city}}, {{location.state}}</p>
8+
<button (click)="selectHousingLocation(location)">View</button>
89
</article>

0 commit comments

Comments
 (0)