Notes on Pluralsight’s Course “JavaScript Getting Started”
FYI, pretty simple stuff.
One bit of advice: it is important to view knowledge as sort of a semantic tree — make sure you understand the fundamental principles, i.e. the trunk and big branches, before you get into the leaves/details or there is nothing for them to hang on to. — Elon Musk
PSA: Do not solely rely on online courses. We should include supplementary material for online learning. For example, working on side projects or reading the documentation can reap great benefits. It can feel rewarding to master concepts in an online course but could be deceiving. I highly recommend you find ways to add to your online courses.
JavaScript Beginning
Adding JavaScript Code to a Webpage
JavaScript is a programming language mostly used client-side to make webpages interactive. — Mozilla
Client-side: Client-side indicates that the action took place on the user’s computer. The server-side indicates that the action took place on a web server (i.e., databases).
There are two ways to use JavaScript on the web:
- We can add
<script>
and</script>
in the HTML file with ansrc
attribute. Something like<script
…