Bunked up the Roman Numeral Test, infinite loop help

I think I crashed the page for my Roman Numeral converter project. I attempted recursion and created an infinite loop causing stack overflow, browser crash, etc.

Working on this course: javascript-algorithms-and-data-structures-v8. Right now, I’m not able to actually click on the Script.js file in on the page, in order to edit that code. It’s just frozen.

I have tried the following to fix it: cleared all local storage data in Chrome (cache, site settings, etc) , waited a long time ( a few hours), switched from Chrome to Firefox.

Please help. Thanks.

PS: I still don’t understand recursion, and now I’m just afraid of it.

I fixed it! by breaking my html, which broke the JS - and refreshed a bunch of times- it let me into the script file!

Recursion can be hard to wrap your head around at first.
There are any number of useful explainers out there, though, as this is a stumbling block for many people!

Try this for instance: