I'm 14 and learning coding as a hobby, starting with HTML and now moving into CSS. I'm having trouble remembering what every element, attribute, and value does. Someone told me that even experienced developers regularly look things up, and I'd like to know whether that's really true before I spend weeks trying to memorize every detail. Should I focus on memorization, or is there a better way to learn?
3 Answers
Looking things up isn’t a sign that you’re bad at programming. Technologies change, and even professionals forget syntax they haven’t used recently. Good notes, bookmarks, documentation, and code completion can save time. Try writing small examples yourself instead of only copying them, since using the information helps it stick.
Experienced developers usually understand the fundamentals very well, but they don’t memorize every part of HTML, CSS, libraries, and multiple programming languages. Documentation, search, editor suggestions, and browser developer tools are normal parts of the job. Focus on concepts such as the box model, specificity, flexbox, grid, and how elements are structured; look up the smaller details as needed.
I like that approach. Understanding how things work seems more useful than memorizing isolated tag names.
The most valuable programming skill is problem-solving. Memorizing every function or property would not automatically teach you how to combine them into a working solution. Learn the general ideas, practice by making small projects, and gradually build a sense of where to look when you get stuck. The frequently used basics will become automatic over time.

I’ve been making notes in my own words, although sometimes that takes longer than practicing. I’ll try to keep the notes shorter and spend more time building things.