Build a CodePen.io app that is functionally similar to this
My solution hosted at CodePen
Also please click on any of the images below to go to the Github hosted version
Objective: Build a CodePen.io app that is functionally similar to this
Fulfill the below user stories. 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.
I can click a button to see a random Wikipedia entry.
Hint #3: Use this link to experiment with Wikipedia's API.
enter a general search term for example 'bbc' or click the random search button
a list of 10 clickable links is then produced
realising I could use jquery 'append'
scoping the ajax correctly.
used the "event.keyCode==13" for input as in the demo but Im not sure if this was strictly necessary.
would idealy have liked more ajax code re-use; a future tidy-up maybe.