Check out a free preview of the full JavaScript for WordPress course:
The "Challenge 8: Listing Posts" Lesson is part of the full, JavaScript for WordPress course featured in this preview video. Here's what you'd learn in this lesson:

In this challenge, students lists posts and a single post using the REST API outside of WordPress.

Get Unlimited Access Now

Transcript from the "Challenge 8: Listing Posts" Lesson

>> Zac: Section six again. That's how we're gonna run through it. What I'd like you to do is take a stab at doing list-posts and doing single-posts on your own. And then we'll come back for authentication together cuz there's some more things I have to talk about there that are gonna go on, okay?

[00:00:18] So remember the steps. You've got to run MPM install, you've got to run MPM start, and then you can start coding everything out https://localhost3000.