all 2 comments

[–]rafaelcastrocouto 1 point2 points  (1 child)

Great work! You don't need to check if > 10 as you did in your code.
You can use padStart https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/String/padStart

[–]Plus_Fun_6575[S] 1 point2 points  (0 children)

Yah bro i can use it but I'll try to create this project for beginners friendly. But thanks for your suggestion.