My Code is right and there are no errors but still it is not showing output.
Hi @Shizuka,
In your code, you have spelled onreadystatechange as onreadyStatechange. Please make that change and you are good to go. It should be as follows.
httpRequest.onreadystatechange = function(){...}
Do let me know in case you need any help.
Thank you. It’s working now