diff --git a/app.js b/app.js new file mode 100644 index 0000000..4133497 --- /dev/null +++ b/app.js @@ -0,0 +1,9 @@ + + +function reverseString(str){ + let newString = ""; + for (let i = str.length - 1; i >= 0; i--){ + newString += str[i]; + } + return newString; +}; \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..d9afe52 --- /dev/null +++ b/index.html @@ -0,0 +1,12 @@ + + +
+ + +