Here is an implementation of Browser fetch from scatch
Hacker News url
Invalid url