03/06/2025
📌 Post 3: Learn Your First Programming Language – JavaScript
🔹 Series: Learn Software Engineering from Scratch
👨💻 Let’s Write Code for the First Time!
Now that you understand what a computer is and how programming works, it’s time to pick a language — and we’re starting with JavaScript.
🟨 Why JavaScript?
🌍 It runs in all web browsers — no installation needed.
🧠 Easy to learn for beginners.
⚡ Can be used for frontend (web design), backend (server-side), mobile apps, and even games.
💼 High demand in the job market.
🛠️ What is JavaScript?
JavaScript is a programming language used to add life to websites. Without it, websites would just be plain text and images. With JavaScript, you can:
Make things move ✨
Add buttons that do something when clicked ✅
Show pop-up messages 📢
💬 Your First JavaScript Code
Here’s your first ever line of code! Open your browser, right-click → Inspect → go to the Console tab, then type:
console.log("Hello, world!");
✅ You just told your computer to print a message.
🧠 What Did You Just Do?
console.log() is a command.
"Hello, world!" is a message (a string of text).
The semicolon ; ends the command.
📌 Mini Task:
Go to this free website: https://jsfiddle.net
Try this:
alert("Welcome to the Software Engineering Journey!");
It will pop up a message on your screen 🎉
📍Next Post: How to Save and Run JavaScript in a Real Web Page
This is where we’ll start building simple web pages with HTML + JavaScript!
💬 Comment “🚀” if you just ran your first line of code!
JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.