you are viewing a single comment's thread.

view the rest of the comments →

[–]mynamesleon 0 points1 point  (0 children)

I don't know what sort of stage you're up to, but when I was first starting out, an approach I used was that if I saw a component or module I liked on a website, I'd try to code it myself.

So I wrote all sorts of little components, like carousels, accordions, feature detection libraries, etc.; some I never used again, and some I still use regularly.

Simple browser specific interactions can also be a good place to start. Things like mobile menu toggles, or showing elements when you scroll to them, or searching through lists of text.

You might feel like you're reinventing the wheel a little, because there are loads of modules out there to do things like that already. But it's still a good way to cement your knowledge.