'Adding a popup to Azure AD B2C sign-up page

I'm trying to add a password complexity pop-up whenever the new password field on the sign-up page is focused but it doesn't seem like Azure AD B2C has a custom policy element for that.

A suggestion of the best approach to achieve the above would be highly appreciated. Thanks in advance!

example of the desired new password field from Facebook sign-up page



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source