Some programmers are code-first
Some programmers are code-first. They focus on the code.
Other programmers are product-first. They focus on the product and user experience.
Strive to be product-first. Remember the Rule of Good Code:
"If the product doesn’t work well, the code is not good."
More here: https://thezbook.com/code-first-vs-product-first