The coding language, HTML (Hyper Text Markup Language), adds structure to a web page. HTML adds structure because it is the outermost framework and is used to create the actual content of the page, such as written text. It is essentially the outer layer of a web page. The coding language, JavaScript, adds functionality to a web page because it is an imperative language. You can use it to create dynamic content based on user input (for example), whereas HTML and CSS are static. It allows the web page to have interactive elements and activities. JavaScript adds buttons and prompts that the user responds to. It can have specific responses depending on what the user codes. CSS (Cascading Style Sheets) adds design to a web page because it is a style sheet language that controls the presentation of documents written in a mark up language. Its job is to make your web page appealing to you. All in all, JavaScript is “Event Driven”, meaning interactive. It waits for the user to do something and then executes the code.
Leave a Reply
You must be logged in to post a comment.