Traning Day 33
Industrial Training – Day 33: Exploring JavaScript Basics
Today marked an exciting shift in my learning journey as I delved into the basics of JavaScript (JS) – the scripting language that adds interactivity to web pages. After working extensively with HTML and CSS in the previous weeks, I finally got hands-on with JS and started understanding how dynamic functionalities are built into websites.
I began the day by learning about variables – how to declare them using var
, let
, and const
, and understanding the difference between them. Then I explored data types like strings, numbers, booleans, and arrays. It was interesting to see how JavaScript handles operations and data storage.
Next, I practiced writing functions – reusable blocks of code – and saw how they can help keep code clean and modular. I also explored conditional statements like if
, else if
, and else
to make decisions in code.
One of the highlights of the day was learning about loops like for
and while
, which allow repetitive tasks to be automated. I created small programs like a number checker and a simple calculator, which helped me understand the practical applications of these concepts.
Overall, Day 33 was a valuable step in transitioning from static web development to building interactive projects.
Comments
Post a Comment