Making Web Pages More Interactive

Nowadays, web pages are considered more “dynamic,” since they’re capable of responding to user input in real time. Things like the ability to “favorite” social media posts or update the portfolio in a shopping cart in an online shop are examples of dynamic content — they don’t require the web browser to re-download the page to display changes. The code is written in separate files that are downloaded alongside a site’s HTML documents when the browser visits a website. Both file types are proficient of referencing each other’s content. The language capable of providing much of this interactivity and responsiveness and it runs directly inside of the web browser. All modern web browsers are capable of interpreting the language.