You should keep a developer’s journal
A developer’s journal is a place to define the problem you’re solving and record what you tried and what worked.

A developer’s journal is a place to define the problem you’re solving and record what you tried and what worked.
“In their first few years on the job, engineers spend roughly 30% of their workday writing, while engineers in middle management write for 50% to 70% of their day; those in senior management reportedly spend over 70% and as much as 95% of their day writing.” - Jon Leydens
Sometimes the lessons and adventures behind the code can elevate your profile in new ways.