Hướng dẫn thử thách
1 / 29
Step 1
In this workshop, you will learn how to work with the Fetch API to load data from an external source and display it on a page filled with freeCodeCamp authors.
All of the HTML and CSS for this workshop has been provided for you. You can take a look at the two files to familiarize yourself with them.
When you are ready, start by accessing the `#author-container` and `#load-more-btn` elements. Remember you can use the `getElementById` or `querySelector` methods for this.
Then assign these elements to variables called `authorContainer` and `loadMoreBtn`, respectively.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.html
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵