Editor Page
-This is another page to verify that theme preference persists across pages.
-diff --git a/editor.html b/editor.html index 02db7f1b..fcd6672d 100644 --- a/editor.html +++ b/editor.html @@ -1,20 +1,266 @@
- - -This is another page to verify that theme preference persists across pages.
-Welcome to the coding challenge! Your task is to implement a function that reverses a given string. Consider edge cases such as empty strings or strings with special characters.
+
+function reverseString(str) {
+ // Your code here
+}
+
+// Example usage:
+// reverseString("hello") should return "olleh"
+
+ Good luck! If you encounter any issues, refer to the documentation or seek hints.
+Click "Run Code" to see output here.
+
+// Example Test Case:
+// Input: "hello"
+// Expected Output: "olleh"
+// Actual Output: (will appear here)
+
+// Test Case 2:
+// Input: ""
+// Expected Output: ""
+// Actual Output: (will appear here)
+
+