So, the lessons state this 5 points:
- JavaScript can be used in both the front-end and back-end of web development.
==> Why can they not program every language for both? - JavaScript is standardized so it’s frequently updated with new versions.
==> But why is this standardized and not any other language? - JavaScript integrates easily with HTML and CSS.
==> Okay, this one is clear. - JavaScript allows websites to have interactivity like scroll transitions and object movement. Modern browsers still compete to process JavaScript the fastest for the best user experiences. Chrome, the most used Internet browser in 2017, has been so successful because of its ability to process JavaScript quickly.
==> but why is this interactivity unique to JS? - JavaScript offers a wide range of frameworks and libraries that help developers create complex applications with low overhead. Programmers can import libraries and frameworks in their code to augment their application’s functionality.
==> Yeah, but surely this wasn’t available when Eich just created it? This looks like a consequence of its popularity to me…
I’ve put my remarks/questions in bold.
thanks fr feedback.
kr,
Yannick