Meilix Generator has fields which the user needs to fill up. There are fields for the required information and for customization process too. This solves the problems and helping user to know about the requirement of each field. We implemented a pop-menu which appears and tell about that particular field.
We will here describe only the implementation of email pop-up.
Function hideDiv contains document.getElementsByClassName() method.
The getElementsByClassName() method returns a collection of all elements in the document with the specified class name.
Then we have a document.addEventListener() method with click and hideDiv function as the parameters. It also contain a function noti which get toggle at the time of click and display the alert message. hideDiv closes the toggle when clicked on the cross button again.
We implemented a question mark after the email line which when clicked showed the following message on the webapp.
This will help user to know the requirement of the particular field.
Through the help of the required function and implementation of the button, we can embedded a help icon which pop-up to give required option present in the webapp.
These are different pop-ups that are currently present in the webapp. User can know about the particular field by clicking on any of the pop-up.
- HTML getElementsByClassName(): https://www.w3schools.com/jsref/met_document_getelementsbyclassname.asp
- Bootstrap 4 Form: https://www.w3schools.com/bootstrap4/bootstrap_forms.asp