Skip to main content

Command Palette

Search for a command to run...

JavaScript Scared Me More Than HTML & CSS

My honest experience learning JavaScript after HTML and CSS, the concepts that initially confused me, and how I'm building my JavaScript foundation with CodeWithHarry.

Updated
•6 min read•View as Markdown
JavaScript Scared Me More Than HTML & CSS
K
Hi, I'm Komal, a BCA student passionate about technology and continuous learning. I'm currently building a strong foundation in frontend development while exploring AI Engineering, Machine Learning, and NLP. This blog is my digital journal where I share what I learn, the projects I build, the challenges I overcome, and the lessons I discover along the way. If you are a student starting your tech journey, I hope my experiences inspire and help you grow. Let's learn, build, and grow together.

When I started learning web development, HTML felt simple.

Then came CSS.

It was a little confusing at first, but once I understood selectors, properties, Flexbox, and basic layouts, I started feeling comfortable.

And then I reached JavaScript.

That was the moment I thought:

“Okay… this is going to be different.”

JavaScript didn't feel like just designing a webpage anymore. Suddenly, I had to think about logic, conditions, functions, variables, events, and how everything actually works behind the screen.

And honestly, it scared me a little.

But after spending some time with it, I realized something important:

JavaScript wasn't impossible. I was just trying to understand too much at once.


🌐 HTML & CSS Felt More Visual

With HTML, I was basically creating the structure of a webpage.

I could write something like:

<h1>Hello World</h1>
<p>This is my website.</p>

And immediately see the result.

Then CSS made things more interesting.

I could change:

  • Colors

  • Fonts

  • Spacing

  • Layouts

  • Buttons

  • Backgrounds

  • Responsive designs

It felt very visual.

Whenever something didn't look right, I could usually look at the page and understand what needed to change.

JavaScript was different.


😵 Then JavaScript Entered the Picture

JavaScript introduced something I wasn't used to:

Logic.

Instead of only asking:

“How should this look?”

I had to start asking:

“What should happen when the user clicks this?”

“What happens if this condition is true?”

“How do I store this information?”

“How do I repeat this task?”

“How does one part of my website communicate with another?”

That's when JavaScript started feeling much bigger than HTML and CSS.


🧠 The First Concepts Felt Confusing

At first, even basic concepts felt like a lot.

Variables.

Functions.

Arrays.

Objects.

Loops.

Conditions.

DOM.

Events.

And then there were terms like:

scope, callback, asynchronous JavaScript, promises...

I remember thinking:

“I just wanted to make websites. Why is there so much logic?” 😅

But I slowly understood that these concepts weren't separate random topics.

They were pieces of the same puzzle.


🔎 Understanding the Difference Helped Me

One thing that helped me was thinking about the three technologies like this:

HTML → Structure

It tells the browser what exists on the page.

CSS → Styling

It tells the browser how those things should look.

JavaScript → Behavior

It tells the browser what those things should do.

For example, imagine a button.

HTML creates the button.

CSS makes it look good.

JavaScript makes something happen when I click it.

That simple example helped me understand why JavaScript is so important.


💻 My First Small JavaScript Experiments

Instead of trying to learn everything at once, I started experimenting with small things.

For example:

let name = "Komal";

function greet() {
    console.log("Hello " + name);
}

greet();

It wasn't a huge project.

But it helped me understand that I could store information, create reusable logic, and make the computer perform an action.

Then I started exploring conditions:

let age = 18;

if (age >= 18) {
    console.log("You can vote.");
}

And loops:

for (let i = 1; i <= 5; i++) {
    console.log(i);
}

These tiny examples started making JavaScript feel less mysterious.


🎯 Building Things Made It Easier

One thing I've learned during my web development journey is that watching tutorials isn't enough.

I understand concepts much better when I actually use them.

Instead of only learning what a function is, I can create a small project that needs functions.

Instead of only reading about events, I can create a button and make something happen when I click it.

Instead of only learning arrays, I can use them to display a list of tasks.

That's when concepts start becoming practical instead of just definitions I have to memorize.


🚧 I'm Still Learning

I don't want to pretend that JavaScript suddenly became easy.

It didn't.

There are still concepts that make me stop and think.

Sometimes my code doesn't work.

Sometimes I understand a concept while watching a tutorial and then completely forget how to use it when I start coding myself. 😅

But I've realized that this is normal.

Being confused doesn't mean I'm bad at programming.

It means I'm learning something new.


🌱 What JavaScript Is Teaching Me

JavaScript is teaching me something beyond programming.

It's teaching me how to think step by step.

When something doesn't work, I have to break the problem into smaller pieces.

What is happening?

What should happen?

Where is the problem?

What can I test?

That problem-solving mindset is probably one of the most valuable things I'm gaining from learning JavaScript.


🚀 What's Next?

My goal isn't to become perfect at JavaScript before moving forward.

My goal is to build a strong foundation and keep practicing.

After getting comfortable with JavaScript, I want to move deeper into modern frontend development and eventually explore technologies like React and AI-powered web applications.

For now, I'm taking it one concept at a time.

One bug at a time.

One project at a time.

And one lesson at a time.

📚 What I'm Learning From

For learning JavaScript, I'm currently following CodeWithHarry's JavaScript tutorials on YouTube. His beginner-friendly explanations are helping me understand the concepts step by step instead of trying to memorize everything at once.

I'm learning by watching the concepts, writing the code myself, experimenting with small examples, and then trying to use what I've learned in my own projects.

For me, the goal isn't just to finish a JavaScript playlist.

It's to actually understand JavaScript and become comfortable building with it. 🚀


Final Thought

HTML introduced me to web development.

CSS made me enjoy designing websites.

JavaScript is teaching me how websites actually think and respond.

It scared me more than HTML and CSS.

But maybe that's a good thing.

Because sometimes the things that scare us at the beginning are the things that help us grow the most.

Still learning. Still building. Still figuring things out. 🚀

#LearningInPublic #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #100DaysOfCode #BCA #StudentDeveloper

Building My Tech Career

Part 9 of 10

Every developer has a beginning. This series is mine. Building My Tech Career is where I document my journey as a BCA student learning frontend development, exploring AI, building real-world projects, overcoming challenges, and growing one step at a time. If you're a student trying to find your place in tech, I hope these stories remind you that every expert was once a beginner. Let's learn, build, and grow together.

Up next

Git & GitHub: The Best Habit I Started Early

When I first started learning web development, I was mostly focused on one thing: “How do I build a website?” I was learning HTML, CSS, JavaScript, and slowly getting into React. My attention was alwa

More from this blog

K

Komal's Tech Journal | Frontend Development, AI & Tech Journey

10 posts

Welcome to Komal's Tech Journal!

This is where I document my journey from a curious BCA student to a professional software engineer. I write about frontend development, AI, real-world projects, coding challenges, career growth, and the lessons I learn along the way.

My goal is simple: to learn in public, build meaningful projects, and help other students who are beginning their own journey in tech.

If you're passionate about technology and believe in growing one step at a time, you're in the