Scripts
Scripts add functionality to websites by running on the client (your browser) or the server (think Amazon’s computer). Scripts are what makes sites interesting and dynamic.
script.js
JavaScript (JS)
JavaScript is the third piece of the puzzle, along with HTML and CSS. These three languages provide structured, styled, and interactive sites.
- Easy-to-learn, free.
- Incredibly popular; wide-usage with community knowledgebase.
- Versatile. Basic JS can be used inline in HTML, and developing entire applications.
- Because the code executes on the client's computer, it can be a security risk.
- Interpreted differently across browsers; requires testing.
development
- Previous
- Next