WDV221 Intro Javascript
Unit -7 Comparison and IF Statements - Compare Names Assignment
Instructions:
- Create a function called compareNames( ).
- The function will compare the two input values from the form above.
- The comparison should be case insensitive.
- The results should display "Same" or "Different".
- Use a span element and its .innerHTML property to display the results.
- Provide a reset function that will reset the form and results.