No reason why it couldn't have been done in reverse, have a programmer code it while using AI to understand skin cancer.
replies(2):
Single file including all html/js/css, Vanilla JS, no backend, scores persisted with localStorage.
Deployed using ubuntu/apache2/python/flask on a £5 Digital Ocean server (but could have been hosted on a static hosting provider as it's just a single page with no backend).
Images / metadata stored in an AWS S3 bucket.