As a person learning web development, you should always be looking things up that you don’t know. Because, let’s face it - in today’s world, it’s silly to know every single feature of a coding language. Instead, we as developers look things up! Today, I’m going to show you six of the best web development reference sites for those moments when you can’t quite remember how that specific thing works.
What is a reference site?
A reference site is where you go if you need to know a specific thing - let’s say what values the
How is a reference site different to a tutorial site?
A tutorial site such as this one aims to explain something to you. So, for example, in my CSS background images tutorial, I teach you how all the different background image properties work in an easy-to-understand way. If it were a reference site, it would say something like:
The background-position property takes one or more comma-separated <position> values. If multiple background images have been specified, each <position> is applied to a corresponding background image (first <position> for the first image, second <position> for the second image, and so on).
(From the Codrops CSS Reference)
As you can see, this is much more succinct and is good if you need a quick reference or reminder, however it is not as good if you are learning it for the first time and need help, examples and, guidance.
W3Schools is a tutorials website, but they are more brief and reference-like. They also have dedicated reference pages for most web development languages. Their format is very good. For each language reference, they have a sidebar with a list of pages, so it is very easy to find what you are looking for - I never even need to use the search bar! The reference is also very succinct and to-the-point which is good for when you need a quick reminder of something. I would say that W3Schools has the best explanations by far.
They also have many other references for things such as jQuery, PHP, and SQL.
DevDocs is very similar to freeCodeCamp in that is has many different languages (not only web development), from very popular ones to lesser-known ones. I really like the layout - it is similar to W3Schools and especially freeCodeCamp with the sidebar and drop-downs. The reference is really great and in-depth, but also easy to skim and find what you need.
- HTML Reference
- CSS Reference
- And basically everything else 😂
3. freeCodeCamp Guides
freeCodeCamp guides are made by the community, for the community. They have a GitHub repository where you can actually contribute! This is something I’ve done and it’s pretty rewarding. Anyway, with so many nice people working on it day and night, it is a great reference. The layout is also very nice - similar to W3Schools, it has a sidebar with all the different pages. However, every single language is in that sidebar, meaning navigations is really simple.
- HTML Reference
- CSS Reference
- A bunch of other stuff (see the sidebar)
Note that these links go to the main language pages, to see all the sub-pages of that language you will need to expand it in the sidebar.
4. MDN Web Docs (Mozilla Developer Network)
The MDN Web Docs is made by Mozilla, the people who built Firefox. So as you can imagine, they are also a great authority on web development! Personally, I am not a fan of MDN’s layout, however, it is a lot more detailed that W3Schools and provides more examples.
I suppose it depends on what you are looking for - If you are looking for a quick reference to something you forgot, go to w3schools. If you are looking for more in-depth documentation outlining everything about what you are looking for, choose MDN. Ultimately, it’s up to you. Have a look at both and see which you prefer. Personally, I’m not a fan of MDN overall, but many people would disagree with me.
They also have some other more specific references such as ones for SVG and canvas.
5. Codrops CSS Reference
Last but definitely not least, the Codrops CSS Reference has a really great layout and is easy to navigate and use. They have every single CSS property, function, data type, rule and more. When you click on one it takes you a page with the official syntax, values, examples and more. It even shows you which browsers support the feature!
6. Stack Overflow
While Stack Overflow is not strictly a reference site, it is an invaluable place to get answers to programming questions or issues. Most of the time when you have a question, you will find that it has already been answered on the site - look no further! If not, you can post a question and someone will usually get back to you within an hour (often less) of posting the question (unless it’s really obscure or tricky). The Stack Overflow community is helpful, kind, generous, and smart and will help you through whatever your issue is.
There is a great tour page explaining how it works here.
My cheat-sheets! (coming soon)
Haha, what’s a good article without some self-promotion 😉
Hopefully, this list helped you! If there’s anything that you think should have been on there or want to have a heated discussion on which is the best, the comments are the place for you. Also, I love feedback! Tell me there 👇
Here is a quick recap of the websites I talked about today:
|Codrops CSS Reference||CSS|
|Stack Overflow||Homepage, Tour page|
If you liked this article and want to inspire some fellow coders or soon-to-be coders, I’d really appreciate it if you shared this article. Thanks! Also, if you want to receive new posts I’d be stoked if you signed up to the newsletter! If you do, you’re officially awesome in my eyes 😎 and deserve a taco 🌮
Have a great 2018 and hopefully these websites I shared will help you along your coding journey! Stay tuned for next time, where I’ll be talking about free resources to test your website. This is a great way to see how you can improve your website going into 2018 📆 🎆 . See you then!