My First Javascript Project!

Satish Narayan
2 min readNov 17, 2020

My 2nd week of full-stack mentorship cohort which is mentored by Deepak Kumar started with learning javascript.

My first programming language was C/C++, I have some emotional connection with these languages so I had little difficulty to move to the world of Javascript.

so in the first few days, I wrote some ds algo code in js just to get familiar with syntax and working of js. here is my Github repo.

after that, we moved to the most interesting that is DOM.

DOM is just Awesome! I did not understand the DOM in my last two learning of js, but this time I cleared all my concepts, the most exciting was event handling, yes with just one click you can do any things.

if you will not use it then you will lose it, following this principle I made one project “compound interest calculator”, you can see the working of the project here.

It took approx 10 hr to complete the project, should have taken less but I was doing it for the first time that's why it took more.

All the effort were satisfying because, in the end, I heard “Perfect” from My mentor

The major learning from project ->

  1. I learnt how to handle an event and write an event handling function.
  2. How to add HTML element using javascript.
  3. How to use flexbox, this time understood flexbox very clearly and used it in the project too! and made my project responsive.
  4. I understood the “e” parameter which automatically gets passed to the event handling function, I used to get confused a lot on this.
  5. Made my own reset button, learnt how to destroy the HTML element.

This week we are going to learn “React”, I am quite excited about that.

Github repo of the project

Connect with me on Twitter LinkedIn.

Thanks for reading!

--

--