3. Routing III - Views, upvotes and pubdate is not showing on the browser (w/uploaded screenshot) Pls. help!


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>
When i click one of the links, the photo is there but the texts(views, upvotes & pubdate) aren’t. Here is my code:

<div class="photo">
   <div class="container">
     <img ng-src="{{ detail.url }}">
     <h2 class="photo-title"> {{ photos.title }} </h2>
     <p class="photo-author"> {{ photos.author}} </p>
     <p class="photo-views"> {{ photos.views | number }} </p>
     <p class="photo-upvotes"> {{ photos.upvotes | number }} </p>
     <p class="photo-pubdate"> {{ photos.pubdate | date }} </p>
   </div>
 </div>

What should i do? Is there anything that i can? Please help me out. Thanks in advance everyone! :slight_smile:


#2

Hi,

It’s not
{{photos.title}}
It’s
{{detail.title}}
and so on :slight_smile:


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.