seperated code not working

seperated code not working

i have just seperated my code into their correct locations html, css, js in webstorm, but now the code does not work.
 and my submit button how can i empty page after use. tryed its not working.
https://jsfiddle.net/daisys77/odu2w3wo/13/