Fetching from the client asynchronously: creating a PHP API, writing JS code that executes fetch() and displays results via HTML