DEV Community

Cover image for FIRST PROJECT ✨
Abi
Abi

Posted on

FIRST PROJECT ✨

Am a passionate programer, without any CS degree !!

This is my first ever project that am uploading online 🙌
It's very very basic project. But as a beginner and also self learnt programer its a huge success
So that's why am sharing with you guys
Visit: https://abhimanyut0800.github.io/Calculator-/
Git: https://github.com/AbhimanyuT0800/Calculator-

Discussion (3)

Collapse
gass profile image
Gass • Edited on

This is a fun first project. I made some improvements in GitHub to your script. Your HTML can be improved by removing the onclick on your elements and adding a event listener in your script. Using onclick in vanilla JS is considered a bad practice.

My suggestion if you want to get better is to figure out how to improve your code.

Well done, keep it up!

Collapse
abhimanyut0800 profile image
Abi Author

Ok.... I will make sure to improve my code in next project.....Can you suggest some ideas for my next project, Also including ReactJs

Collapse
gass profile image
Gass • Edited on

By "improve your code" I meant of your current project - Calculator. The code can be improved by removing the onclick attributes in the HTML and adding an event listener to your script. Inside the script add all the logic.

React is a JS library. Before learning React I suggest learning JS well. If not, it will be a nightmare. React can even be hard for people who have an advanced level in JS.