Where to start with Wiki Viewer

I’m trying to build the wiki viewer, but I’m really having a difficult time getting started. I’ve spent the past two days trying to figure out how to get input from a text box without having the page refresh.

To start with, all I want to do is take the value in the text box, and print it in a

element to prove that I’m actually getting the user’s query. Every other tutorial or reference I can find assumes I want to use ajax to send form data to a php script, which seems far beyond the scope of this project.

This is the short pen I’ve written, just trying to test out the form: http://codepen.io/erk529/pen/VjKNPq

Your code is fine. You forgot to add jquery.

Thanks. I must be losing my mind.

Nah, we all do it at least once :slight_smile:

I guess I’m just used to python and C++ which complain immediately when I forget to import something.

Well, now to figure out this wikipedia API…