Created the documents. Added the basics and the references from the DOM. Created a function which should handle the string and created and and addEventListener to get the value to the function when clicking the submit button
Created a new variable which contains the reversed string
Compared the newString and the reversed string with an if-statement and returned th string. Added an eventDefault to make sure the form wont get sent. Added some palindrom examples to the html.