JavaScript is a client side scripting language that used to perform logical operations in a "Front end" website. And, also JavaScript can manipulate html validate, form validation session and many more. There are two different types of implement JavaScript with your web pages,
- Internal
- External
Example - Internal
<script>
document.write("Hello World!");
</script>
Example - External
<script src="js/java.js"></script>