fix(curriculum): external wiki API links in CIP (#46260)

This commit is contained in:
Muhammed Mustafa
2022-06-01 17:19:28 +02:00
committed by GitHub
parent e15889a53e
commit 83464c129d

View File

@@ -10,18 +10,16 @@ dashedName: build-a-wikipedia-viewer
**Objective:** Build an app that is functionally similar to this: <https://codepen.io/freeCodeCamp/full/wGqEga/>.
The MediaWiki software powers Wikipedia, and it helps you collect and organize knowledge and make it available to people.
Using the MediaWiki API, replicate the search function and random article function, similar to the example app above. You can use Wikipedia as your data source.
Fulfill the below user stories and get all of the tests to pass. Use whichever libraries or APIs you need. Give it your own personal style.
**User Story:** I can search Wikipedia entries in a search box and see the resulting Wikipedia entries.
**User Story:** I can click a button to see a random Wikipedia entry.
Hint #1: Here's a URL you can use to get a random Wikipedia article: `https://en.wikipedia.org/wiki/Special:Random`.
Hint #2: Here's an entry on using Wikipedia's API: `https://www.mediawiki.org/wiki/API:Main_page`.
Hint #3: Use this [link](https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&titles=Main%20Page&prop=revisions&rvprop=content&format=jsonfm) to experiment with Wikipedia's API.
When you are finished, include a link to your project on CodePen and click the "I've completed this challenge" button.
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).