Javascript AJEX

Hello!! I tried to program an API using JavaScript but I am getting some error which I found hard to debug. !

Here I am attaching the screenshot for the same.
Screenshot (25)|690x387

When you built up the “Guess the number” game in the previous article, you may have found that it didn’t work. Never fear — this article aims to save you from tearing your hair out over such problems by providing you with some tips on how to find and fix errors in JavaScript programs.

@tejaschitnis15 thank you