Learned JavaScript basics with Harsh Vandana Sharma

Day 25 of #100DaysOfCode – JavaScript Basics Today’s session with Harsh Vandana Sharma from Sheryians Coding School and Sheryians Coding School Community focused on understanding the fundamentals of JavaScript, its origin, evolution, and importance in web development. We learned that JavaScript was created by Brendan Eich in 1995 while working at Netscape, and it was developed in just 10 days. Over the years, JavaScript has gone through multiple versions, and among them, ES6 (ECMAScript 2015)is the most well-known. ES6 introduced modern features such as let, const, arrow functions, template literals, and classes. We also learned how to link JavaScript in an HTML file using the <script> tag — either internally within the document or externally through a .js file. JavaScript is an essential part of web development as it makes web pages dynamic, interactive, and functional, complementing HTML and CSS. It was also discussed that JavaScript is standardized by ECMA International, and the TC39 Committee is responsible for defining and maintaining the ECMAScript standards used across browsers. We explored three important variable declaration keywords — var, let, and const — and understood how they behave in JavaScript: var: Function-scoped, can be redeclared and updated. let: Block-scoped, can be updated but not redeclared within the same scope. const: Block-scoped, cannot be updated or redeclared, used for constants. Lastly, we learned how to use the console for debugging and displaying outputs: console.log() – For general output or messages. console.error() – For displaying errors. console.warn() – For showing warnings.

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories