Hello, I am kunaal a fullstack developer.I have a youtube channel "Modern Web" where I teach to make awesome web UI/ UX. Don't forget to checkout my youtube channel
Hello, I am kunaal a fullstack developer.I have a youtube channel "Modern Web" where I teach to make awesome web UI/ UX. Don't forget to checkout my youtube channel
it would be more declarative if you change
res.json("404");
withres.status(404).send("...");
github.com/kunaal438/blogging-site...
Yes actually we can change the status but this tutorial was not about "404" error that's why I left it.
It's a basics coding practice, which every developer should follow either for teaching or development.
Yes, I agree. I'll make sure to return status code also from the next time☺️