Click the link above to the code-exambpe to get to the W3School-TryOut area.
Save the code with a suitable name
Have it run by clicking the run-button.
Change the status of the variable showDiv within the values true and false, and observe the result carefully.
What happens if you set the values of the variable showDiv to -1, 0, 1, 2, etc.
Note the result as a html-comment und beobachten Sie die Reaktion der Applikation.
Save your result, you may need it as a exam-preparation.
Codesolution of v-show simple
Volkan Demir