As a new and junior front end developer, I've always wondered how the front end and back end communicate.
I've heard about API before but haven't read anything about it. Am glad I came across your post, it really helped me understand what an API is. Most especially the example you used.