Learn Asynchronous Programming by Building an fCC Forum Leaderboard - Step 24

Tell us what’s happening:

Task objective is done but would not pass. Task is to call the timeAgo(); with the parameter of bumped_at. unfortunately not able to pass my code.

Your code so far

<!-- file: index.html -->

/* file: script.js */
// User Editable Region

    return `
    <tr>
      <td>
        <p class="post-title">${title}</p>
      </td>
      <td></td>
      <td>${posts_count - 1}</td>
      <td>${views}</td>
      <td>
      timeAgo(bumped_at);
      </td>
    </tr>`;
  }).join("");

// User Editable Region
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0

Challenge Information:

Learn Asynchronous Programming by Building an fCC Forum Leaderboard - Step 24

try wrapping the callback function in a template literal

The entire tr is already wrapped in literals. steps above including variables didn’t require separate literals, could this need another to call the timeAgo function?

the template literal i am talking about is the one with a dollar sign and curly brackets, put your function in that and it should work

Thank you for your help with.