Request JSON data from API endpoint to each page requested
andersonbosa (0)

I'm doing the following test:

I want to extract from each page of this API:
The information to create 8 items for "products? Page = 1"

You are viewing a single comment. View All
malvoliothegood (696)

If you wanted to generate separate pages for each product then I suggest you use a frontend framework like React (tutorial: React is cool, but there is a reasonably steep learning curve and you need to know JavaScript quite well for a start.

If you want to just have one page with all the products listed on it you could use plain HTML and JavaScript (add in some CSS to style the page). Have a look at this repl:

Happy coding :)