Day 7 - REST Countries API | Forntend Mentor Challenge

Today was not a great day because I was not able to complete the challenge (Task) in time due to some weird reasons

  • in the detailed view page the back button was not working for first time but the code was saved and not commented out. but after that when I removed the style for the button it would not get removed for some reason.
  • Now, I am not able to see the back button but its code is saved in the index.html file.

Code.jpg

CODE

Error 1.jpg

RESULT

and now I am not able to resolve this error. I am working to resolve this error from last 2-3 hours but it won't go away.