My lesson on while loop crashes each time i type the code. for that reason am stuck there. please what do i do to fix it?
Hard to say without seeing the code but it’s probably because the condition the while loop is checking is always true. If it’s never false, the code will keep looping forever and cause a crash.
it may be that you have an infinite loop in the editor, to avoid the browser crashing for this infinite loop you need to clear the cache (note this will remove the code in the editor for all the challenges you already completed as that is stored in local storage)
Thanks a lot. It’s now working.