JavaScript is a text-based programming language used both on the client-side and server-side that allows you to make web pages interactive. Where HTML and CSS are languages that give structure and style to web pages, JavaScript gives web pages interactive elements that engage a user. Javascripts provides functionality to the website. It determines actions to be performed based on user interactions. It determines what will happen when a user clicks on a button, hover over an element, scrolls up to a certain height, etc. For example: Because of Javascript, you are able to log in as a user on a website. Javascript is the driver of all interactions that we experience. Yes Js is event-driven it is responsible for executing code by events such as user actions (like clicks, key presses), sensor outputs, or messages from other programs or threads. So, when I click the check mark button “student post” in the categories box that event will be recognized and a function called.
Webpage’s without Java.
Hey, Ivan. I really appreciate how straightforward your post was and it help me better learn about javascript. I was wondering did you ever use javascript ever outside of the class?