Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Angular Basics Angular Components Component Templates and Styles

Despite following all the things as the video said, the image and the description are missing in my browser view.

Why the browser is not showing the image and description enclosed with figure and fig caption from my entry.component.html file.This is my code from "entry.component.ts"

 import {Component} from '@angular/core';

@Component({
   selector:'app-entry',
   templateUrl:'entry.component.html',
   styleUrls: ['entry.component.css']


})

export class EntryComponent{
    title:string = 'My first photo';
    photo:string = 'http://placehold.it/800×500?text=Angular Basics';
    description:string='A description of my First job';


}

and this is my code from "entry.component.html"
 <h2>{{title}}</h2>
<figure>
   <img src="{{photo}}">
    <figcaption>{{description}}</figcaption>
</figure>

In this case, we can't help you without seeing your code. Make sure you include your code for us to review.