Want to create a Password Game as an interaction to progress to the next image

Hi i’m working on this project and i wanted to implement a Visual Password Game. If you guess the right Password it lets you progress to the next image. If someone has an idea how to code this with Javascript or give me a direction where i could copy that code, i would be very greatful because i have only basic understand of coding and can’t code myself.


Here is my site Read-Only: LINK
(how to share your site Read-Only link)