Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Javascript please Create a function called validate(), which checks if: Text has been entered in every text box and Create a function called checkSimilarity(), which
Javascript please
Create a function called validate(), which checks if: Text has been entered in every text box and Create a function called checkSimilarity(), which checks if the text entered in the same for both fields. If they are the same, display an alert box, and if not, display They are not the same.