Question: how to restore photos from icloud.com?
Answer: Go to iCloud.com in any web browser (you might need to sign in).
Click on Photos.
Click on Albums at the top.
Click the Recently Deleted album.
Click on the photos you want to restore.
Click on Recover.