Skip to content

Commit

Permalink
Update website-api.md (#2484)
Browse files Browse the repository at this point in the history
Add what seems like a missing word.
  • Loading branch information
caleywoods authored Jun 4, 2024
1 parent 6a956ac commit 5b712be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _kbarticlespages/website-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Once your server API can connect to the database, execute queries at specific ro

### Serve content to the Pages website

Now, you’re ready to request dynamic content from your static. In our example, the Pages-hosted site is a single [index.html](https://github.com/cloud-gov/pages-example-api-website) file with some CSS and image assets and a few lines of JavaScript to make the request and display the dynamic content. We’re using an already minified version of the U.S. Web Design System (USWDS) library from a Content Delivery Network (CDN) so there are no build tasks, transpiling, preprocessing, or compiling in this project – just a simple static site with some nav and the basic structure of a table, waiting to be filled with dynamic content.
Now, you’re ready to request dynamic content from your static site. In our example, the Pages-hosted site is a single [index.html](https://github.com/cloud-gov/pages-example-api-website) file with some CSS and image assets and a few lines of JavaScript to make the request and display the dynamic content. We’re using an already minified version of the U.S. Web Design System (USWDS) library from a Content Delivery Network (CDN) so there are no build tasks, transpiling, preprocessing, or compiling in this project – just a simple static site with some nav and the basic structure of a table, waiting to be filled with dynamic content.

There are two steps left: Making the HTTP request to the server app, and then displaying the response that the server app provides. Both are handled with straightforward JavaScript.

Expand Down

0 comments on commit 5b712be

Please sign in to comment.