Literally everything you'll ever want to do involves creating a variable, and having the game check its status to send the player to a different page or otherwise change some text around when they click.
So create a variable called %STRENGTH and if it's at the value it needs to be, they succeed, otherwise they fail and get sent to a different page. The basics as well as the specifics are in the Help section.