Skip to content

Get Africoders on your phone

Challenge Explore
AiJay

@aijay

journal

One habit that’s been saving me a lot of stress:

0 replies 16 views

One habit that’s been saving me a lot of stress: As soon as I finish a small part of a project, I test it immediately. For example, if I just added a button that should add an item to a list, I don’t wait. I write something simple like this and check it right away: function addItem() { const input = document.getElementById("taskInput"); console.log(input.value); // just to confirm it’s working } If something’s wrong, I catch it while the code is still fresh in my head. Waiting until the end usually means spending extra time hunting for problems. Testing early keeps things simpler.
View passport
Reply

Replies

0 replies

Sign in to reply.

No replies yet

Be the first to continue this conversation.