Zack-Dx / Mini-TODO

A repository to contribute at hacktoberfest 2022. Make sure to share love by giving it a star🌟. Have a great day!
https://blueberry-keep.netlify.app/
36 stars 56 forks source link

Putting repeated code into a function #94

Closed B0r1Koff closed 1 year ago

B0r1Koff commented 1 year ago

Screenshot_20221029-172300 Hello, @Zack-Dx! There is a duplication of code in the 'index.js' file, I want to put it in a separate function

Tubaleviao commented 1 year ago

I sent a PR! I guess this code solves the issue. I tested it in my machine and it's working properly, let me know if you want anything different!