Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am csuszka on github.
  • I am csuszka ( on keybase.
  • I have a public key ASCBLYS43RLQaYMoL-QjVFSLpftvt8gVHdlJolkRNrVUYgo

To claim this, I am signing this object:

View index.html
<!-- <div class = "freecodecamp"><a href=""
<H2><i class="fab fa-twitch fa-1x"></i> freeCodeCamp </H2>
</div> -->
<div class = "csuszka"><a href=""
<H2><i class="fab fa-twitch fa-1x"></i> csuszka </H2>
csuszka / index.html
Last active Apr 10, 2018
Wikipedia Viewer
View index.html
<div id = "top">
<H1 id="title"> Wikipedia Viewer</H1>
<form action="">
<input required type="text" placeholder=" I'm looking for..." id = "requestField" >
<button id = "requestButton" type="button"> Search </button>
<!-- SUBMIT tpe buttons send request to your backend. If you use SUBMIT type button here at the same time with the ajax request, you will get an error. I thought it is a CORS error, but no, the page refreshing was in the way of the ajax request (type SUBMIT was automatically given by the browser to the button). Use SUBMIT buttons only when you have to (when you are not using javascript) -->
<button id = "random">Go random!</button>