vuyisile.github.io

View on GitHub
30 October 2017

Solving The Wiki Viewer

by {"name"=>"Vuyisile Weni"}

The Wikipedia Viewer.

I just finished Free Code Camp’s Wikipedia Viewer app, where you generally pull random articles side-by-side from Wikipedia using the MediaWiki Web API, the application also allows you to search for specific articles using the search box.

Instructions:

Logic:

Based on the instructions and the example given to us, the Wiki-Viewer is an API based project, so I create a function that pulls/gets random or specified articles. A better way to do this would is to separate the two problems, have a get random article function and a get specific article function.

My Approach:

After completing the previous project (The Random Quote Machine), I had an idea or knowledge of APIs, JSON and AJAX,

tags: