Write a Product Specification to get a Job

Hi. I am a self-taught Front-end developer.

I received an assignment after a job application.
I have to interact with an existing web page in order to write a product specification. This is new to me. I usually stick to user stories or code directly. I’m already googling to learn more. If you can help me with examples or any other resources, I would appreciate it.