Here are several skills I have learnt, and my observations, after completing the Codecademy HTML and CSS primer:
I learnt how to create text, add pictures and videos with HTML, and how to style these using CSS.
When you find yourself writing the same lines of CSS over and over again, you can and should consolidate them into one CSS rule (probably making that its own class). If not, you increase the chance of introducing a mistake in those separate pieces. More importantly, every time you have to make a change to one you must change all, and when your program grows it becomes a more cumbersome task.
Another thing I learnt is to check my code for minor mistakes even when I produced the expected result. Web browsers are forgiving when they render HTML; for example, <p>Hello<h1> still produces “Hello” on the screen. As a beginner, it is easy to make such simple mistakes. Thus, one must be careful to make sure all elements are correct since minor mistakes might affect the program as the code grows longer.
Finally, I want to learn how to create responsive design web pages, since it is common for desktop users to minimize a page and look at two windows while reading an article – making sure all the elements in the story are correctly placed and convenient to read when the webpage is minimized is thus important.