Technicality is important and will typically develop naturally with more practice at writing.  The more music you listen to and create, the more the technical aspect will feel natural.  But technicality isn’t what we look for when we are looking for a tune to listen to.  We’re looking for what is pleasing to our ears.