@sapinder-pal
Posted
You did a nice job @sagarkaurav! One thing I would want you to know is that you have to keep in mind the users who set third-party cookies to block, and so do I. This is why my browser prevents frontendmentor from previewing your solution (the original url should work but on this site, it's considered third-party).
In my previous challenge, I also encountered the same. So I applied a try
and catch
block in necessary places. You should also consider this. I had to turn off the third-party cookies to view your page :)
@sagarkaurav
Posted
@sapinder-pal Thanks for letting me know that localStorage is blocked because the page is loaded by frontendmentor.io. I have made changes as you suggested. It should work now without enabling third-party cookies.
@sapinder-pal
Posted
@sagarkaurav It's working now. 🙂