Skip to main content

2025: A Year of Exams, Excellence, and Evolution

 2025: A Year of Exams, Excellence, and Evolution Hi, I am Mayur Gund welcoming you at Mayur's Tech Journey.  As the curtains fall on 2025, I look back at a year that was defined by grit, transitions, and the discovery of my true passion. From the silent halls of exam centers to the vibrant development labs of Sanjivani, this year has been an unforgettable journey of growth. The Rigorous Start:  The year 2025 began with intense pressure. Every student in India knows the weight of the last week of January—the JEE Mains . My preparation was rigorous, and on 12th February, I received my first boost: a 83 percentile in JEE Mains. While I was still processing this, the HSC Board exams arrived in the same month, requiring a complete shift in focus from entrance logic to descriptive writing. The Frustrating Peak: MHT-CET and Mock A March was perhaps the most challenging month of the year. It was a period of constant mock tests. The frustration of stagnant scores and the repeti...

My Journey of Building a Functional Calculator

My Journey of Building a Functional Calculator: How I Overcame My JavaScript Struggles


Hello everyone, Welcome back to Mayur's Tech Journey.

When I started my engineering journey, I always wanted to create something practical. Many students focus only on theory, but I believe that true learning happens when we build projects. Today, I am very happy to share my first web development project: A simple Calculator.


The Initial Struggle with JavaScript :

To be honest, learning JavaScript was not easy for me at first. I was in learning syntax, but the logic felt like a big threat. There were times when I sat in front of my tablet for hours, trying to understand how to connect a button click to a mathematical operation. It felt like I was stuck in a loop.

However, I did not give up. I realized that to be a good engineer, I needed to neutralize these technical fears. I started breaking down the problem into small parts: first the design, then the display, and finally the logic.


How I Built the Project :

I used the three pillars of web development to complete this project: HTML, CSS, and JavaScript.


1. Designing with HTML and CSS :

I wanted the calculator to look professional and work on mobile phones.


- HTML Structure: I used a clean setup where every button has a specific 'onclick' function. I even added a special MTJ (Mayur’s Tech Journey) button that links back to my blog.

- CSS Grid: To make the buttons look perfectly aligned, I used the CSS Grid property. I set up four columns so that the layout stays symmetric on every screen size.

- Visuals: I chose a white background with a nice orange-themed accent color for the important buttons. This makes the UI very user-friendly.


2. The Logic with JavaScript :

This is where I really leveled up my skills. I wrote functions to handle the input and the final calculation.


- Handling Input: I created a function called appendToDisplay that takes whatever button you press and adds it to the screen.

- Solving the Expression: I used the eval() function to calculate the result.

- Handling Errors: This was a very important step. I used try...catch blocks. If a user enters something wrong (like two plus signs together), the calculator does not crash. Instead, it shows a message: "Error. Incorrect expression." This makes the app robust and professional.


function calculate(){

  try {

    display.value = eval(display.value);

  } catch (e) {

    display.value = "Error. Incorrect expression.";

  }

}

Desktop interface of Calculator 

Mobile interface of Calculator 

Tablet interface of Calculator 


 Why this Project Matter :

Building this calculator taught me more than any textbook could. It taught me that it is okay to struggle with code as long as you keep trying. I have moved from being an "average" student to someone who can build working software.

For my 376 global readers, I want to say: Don't be afraid of the "hated questions" or the difficult subjects. Just start building. Once you see your code working, all the struggle feels worth it.

Check out my Calculator : Calculator

Github: https://github.com/engineermayur-07/Calculator-using-JS

I am now 100% ready for the challenges of 2026!


Signing off,

M. B. Gund


Also read :

 The Boy Behind the Percentile: A Memory of 12:07 AM

Mayur’s Tech Journey ; From Village to Virtual: My Code for Change

Fueling the Code: New Milestones and the Power of Pride


Comments

Popular posts from this blog

The Boy Behind the Percentile: A Memory of 12:07 AM

  : Usually, this blog is about C++, Linux, and my journey through the world of technology. But today, I’m putting the code aside. A few days back,our college had a photoshoot with the placed students of this year. Seeing the happiness on their faces brought back a flood of memories. Writing this blog to get my thoughts out. I want to tell you a story about a moment that stays with me every time I walk through my college gate—a moment that defines why I work as hard as I do. The Myth of the "Bright" Student  People see my progress now—the 99.07%tile in PCM, 99.29 in PCB and college topper—and they call me "bright." But I’ll tell you a secret: I was never the bright student in school. I was average. The person you see today wasn't born with talent; I was forged in the fire of 12th grade. I remember the Sankalp (the vow) I took. I remember the late nights, the constant overthinking, and the "love-hate" relationship I had with that life. I was fighting fo...

🚀 Back on Track: Powering Up After Exams!

Hello and welcome back to Mayur's Tech Journey! It’s been a little over a month since my last post, and while I’ve been absent from the blog, I've been anything but idle in my learning. The past few weeks were a whirlwind of exams, but now that they're done, I'm thrilled to dive back into sharing my experiences with you. As a first-year B.Tech CSE student, this journey is all about constant learning and growth, and I have a bunch of exciting updates and technical breakthroughs to share. Let's catch up!  My Recent Achievements : The grind has been real, and I'm proud of the milestones I’ve hit! These achievements truly mark how far I've come CodeChef Streak & Stars: I managed to maintain a 19-day constant streak on CodeChef, demonstrating real consistency. More importantly, I recently achieved my 3rd star in C++ on hackerrank! This shift from just starting to gaining three stars is a huge personal win. DSA Kickstart: I officially began my Data Structures ...

To the Light Bearers of My Life: A Guru Purnima Tribute

From Blackboard to Heart – My Teachers, My Gurus                   ⚡️ Thanks to my Family :   I am so thankful to my parents and family for being my first Guru. You would be my guide forever. Dear Mom and Dad you are the best teachers of the world. You taught me the best skill of living. Happy Guru Purnima  🌱 My Early Gurus – Foundations of Curiosity As I look back, some names shine brightly from my school years. In my secondary school, I was deeply influenced by Kale Sir, Barhate Ma’am, and Navale Ma’am. Their incredible way of teaching mathematics made the subject come alive for me. Abhang Ma’am’s loving and kind nature touched my heart, while Dhas Sir’s strictness helped instill discipline in me – both equally important in shaping me. 🌐 The Digital Gurus – Learning Beyond the Classroom When I reached class 11, my world of learning expanded online. Dinesh Sir’s humorous way of explaining mathematics made even tough concepts feel...