Created
May 2, 2019 12:30
-
-
Save hackerrahul/c39720dcdbb5d8f2252f5ebd5e71b651 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p><button onclick="w3.sortHTML('#id01', 'li')" class="w3-button w3-blue">Sort</button></p> | |
<ul id="id01" class="w3-ul w3-white w3-border w3-margin"> | |
<li>Oslo</li> | |
<li>Stockholm</li> | |
<li>Helsinki</li> | |
<li>Berlin</li> | |
<li>Rome</li> | |
<li>Madrid</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment