I am not able to complete this task. Can anyone please help me out by detecting the error. I also tried the solution from their official site, but still the error appears.
Welcome to the freeCodeCamp forum!
Your code looks fine to me. It worked in my browser. Have you tried Chrome as well?
Thank You Bro. It really helped.