Wikipedia Viewer is up: feedback

Wikipedia Viewer is up: feedback
0.0 0

#1

So I have finished Wikipedia Viewer project. You can give any review, feedback on it.
here is the link:


#2

If you wrap your input field in <form></form> tags your input field will react to Enter key. You’ll have to also add preventDefault() to your JS code to prevent the page from refreshing.

My version (I added comments to modified parts):


#3

Thank you very much @jenovs!!


#4

@jenovs Gone through your version & modified my code. It works for Enter key also now! Learned new things! Again thanks a lot!

Got one problem though: Random button isn’t working anymore!


#5

Add type="button" to your random button:

<button type="button" id="randombtn">Random</button>