Some JS Basic ideas
1. Usually wrapped by head tag
2. Tag semantics:
1 | <script> |
you can also use an external JS file to store your JS codes:1
<script src=url></script>
3. Sentences are ended by ‘;’
4. Comment Usage:
1 | /* |
1 | <script> |
you can also use an external JS file to store your JS codes:1
<script src=url></script>
1 | /* |