i am having a problem i think it is related to the html tag in my angular app the it is not showing the image in the browser any fix to the problem
the image is saved in array like this
export class HomeComponent {
housingLocationList : HousingLocation[] = [
{
"id" : 0 ,
"name":"Acme Fresh Start Housing",
"city" :"chicago",
"state":"IL",
"availableUnits": 4,
"wifi": true ,
"laundry": true,
"photo":"./house02.jpg",
},
than its called here :
<section class = "listing">
<img class="listing-photo" [src]="HousingLocation.photo"
alt="Extirior photo of {{HousingLocation.name}}">
here is the repo : https://github.com/safoan/my-app-ng