The Poem Critic
diff --git a/src/main/webapp/script.js b/src/main/webapp/script.js
new file mode 100644
index 0000000..53c2d47
--- /dev/null
+++ b/src/main/webapp/script.js
@@ -0,0 +1,5 @@
+//Splits string containing poem into array of lines
+function splitPoem(poem) {
+ var lines = poem.split("\n");
+ return lines;
+};
\ No newline at end of file