Hi!! i hope you're having a wonderful day <3
for the ask game, 13- any advice for beginners? ty!
hello you too!! here goes some tips ive gathered over the years
be organized from the get go, otherwise you'll find yourself cleaning code before releasing something that you can't even understand yourself. some examples of what i do is: write the css in the same order you wrote the html, use comments as much as you can, name classes something easy to understand (ex. if you have an element thats the block of text in an about, name it something like #about-text)
you can always look at other's peoples code to figure out how to do something. there might be a grey line between getting inspiration from and stealing code, and the best course of action is to ask the original maker about it
back up as often as you can, if what im coding is complex/has a lot of code in general i usually back up codes every couple of hours, and most importantly: right after youve solved a problem
kind of obvious but google will be your best friend, even when you're good with code you'll always need help and google will give you a solution around 99.9% of the time
always add credit for outside resources cannot stress how important this is
make your codes resposive, might be a hassle at first but this is crucial. your codes should be usable across all browers and screen sizes to the best of your ability
foolproof your codes, have in mind once you release something, people are going to do whatever they want to do with it, for example: if there's an element that has a lot of text, make sure it still works and looks good whether the user is writing one word or a full block of text. it can be hard but you need to make sure that, when people customize the code, whatever they decide to add/modify wont break the code
write instructions to your code if necessary i suck at this one but it's still good pratice to explain how to do something in your code, or at least link to a tutorial that explains it
gather resources! bookmark everything and anything that you might want to use in the future
have a working base code if youre using your own base code, make sure its up to date. you can also have different base codes depending on what you need (ex. have a base code exclusively for when you'll use isotope filter, etc)
thats all i can think of right now but hope that helps!