How to restart everything I wrote in Week 2 assigment

Hello , well i did some code wrong so it gives me errors and i want to restart the kernel but where all things i typed get reseted .
I already tried everything in kernel tab ( Restart & clear output And others ) But they don’t reset everything i wrote . What do i do?

Hello @Asser_zakaria!

Check this about Refreshing your Workspace.

Best,
Saif.