I've decided to start learning how to organize my JavaScript code so I've started working on the Wikipedia Viewer project from freeCodeCamp.
Live example: https://wikipedia-viewer-project.netlify.app/
- I can search Wikipedia entries in a search box and see the resulting Wikipedia entries.
- I can click a button to see a random Wikipedia entry.
- URL to get a random Wikipedia article: https://en.wikipedia.org/wiki/Special:Random.
- An entry on using Wikipedia's API: https://www.mediawiki.org/wiki/API:Main_page.
- Clone the repository:
git clone https://github.com/alexandracaulea/wikipedia-viewer
- Go to the project:
cd wikipedia-viewer
- Install project dependencies by running:
npm install
- For the development run:
npm run dev
- To build run:
npm run build
The file wikipedia-logo.svg was downloaded from Wikipedia.