diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 818a6b2..3e02842 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -8,6 +8,7 @@ content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"> + 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