access to xmlhttprequest at from origin has been blocked by cors policy in node js code example
Example: javascript access to xmlhttprequest at from origin 'null' has been blocked by cors policy
//Open the HTML file using live server, it will work
//Open the HTML file using live server, it will work