For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.
RENISH PONKIYA -
keploy -
Tianya School -
Ricardo Caselati -
Top comments (1)
three small comments:
1) there's a typo on the results div on first load; shows "Resut" but should be "Result"
2) you add 4 event listeners for every button, which isn't a best practice.
allBtns.forEach((btn) => {
It would be better to target each button separately, since you already check for the class name of each button to add it's event handler.3) try describing why this exists, and what you're trying to show us