Okay, I can create an HTML page with a text input and a button. When the button is clicked, the JavaScript code entered into the text input will be executed.
Security Warning: Executing arbitrary code from user input is extremely dangerous and can lead to security vulnerabilities if used improperly. Be very careful about what code you execute.
Now you can open the index.html file. Type some JavaScript code (like alert('Hello World!'); or console.log(5 * 10);) into the text area and click the "Run Code" button to execute it. Any console.log output or return values will appear in the "Output / Result" section, and errors will be shown there as well.*