How new is new enough for HTML/CSS?

Hello. Tonight during my walk I started thinking that maybe I should sit down and read a bt more before trying to finish my e-commerce site.

While I feel like I don’t have time to read books, that is how I learn best.

I purchased some SitePoint books a few years ago but never had time to read them.

Am wondering if they are still any good?

Most of them are from around 2015-2016, but some are as old as 2008.

Thoughts?

Most people don’t retain what they learn by reading alone. It is only until they put it into practice, that’s when the real learning begins. When you see the mistakes in the code you write then you are able to see what you did wrong after it gets corrected. It is unlikely that you will make the same mistake twice after you troubleshoot and learn how to fix it. Reading is a good way to get started but writing code is more productive.

CSS is built in levels and modules that continually stack up to create The CSS Specifications.

  • Com­pleted work
  • Stable drafts
  • Testing
  • Refining
  • Revising
  • Exploring
  • Rewriting
  • Abandoned

Some of the information in books from 2008 is still relevant, some has been refined so it may not be as accurate today as it was in 2008.

It’s best to keep up with the specs for current information.

1 Like

Hi @Ray.H,

I understand the benefits of hands-on coding, but reading a well-written book (e.g. SitePoint) helps to give you a good 20,00 foot view. And if well-written, will give you a good roadmap.

While I find the MDN helpful once I understand broad concepts, it is only so-so for learning new things like Flexbox. (A SitePoint book would teach me the What, the Why, and the How with examples. MDN not so much so.)

But what about books from 2015-2017?

They says HTML 5 and CSS 3.

Also, to my OP, do you have any thoughts on what is the best way to tackle things?

To clarify, I guess I need a gameplan to tackle a few things.

First, like the mockup above, I need to create an abridged shopping cart of sorts, which gives a customer a high-level visual of what they are about to buy.

In simple terms, I personally see this as a series of Item rows which include a product thumbnail and a product description which is made up of a Descrption, Price, and Short Summary.

@coothead and others helped me learn a little about Flexbox and inline-block, and I have samples that work just fine. But when I asked for help with those, it was a single product, whereas for my Checkout page I need code that will scale to handle as many products as the user is buying. (Maybe I just wrap my singular code in divs? Maybe in an HTML table? Maybe in a CSS table? Other?)

Because the rest of my finished code-base is not responsive, I am not necessarily coding things responsively for my e-commerce module, but I am trying to plan for v2.0 which I hope to start on later this year.

So if I can easily implement something now that will be responsive later that is a plus.

Any suggestions on approaches that would work better for this 1st part would be help, understanding that many approaches could work.

Secondly, I need to build things like a proper Shopping Cart which again is really made up of rows of Product Details in the cart.

The difference here is that there are more parts, including Thumbnail, Product Name, Price, Quanity, Add/Remove buttons, Product Description.

In the old days, an HTML table seems like teh way to go, but I’m not sure what a more modern approach would be?

@coothead hinted at CSS Tables - which maybe I can find in one of my SitePoint books? - but there there are things like Inline-Block, Flexbox, DIVs, etc.

Any hints on which are better and worse approaches on this to be modern and mobile?

Not necessarily looking for code, but just enough of a sense of where to begin and start researching.

Oops!! I guess those were in this thread…
https://www.sitepoint.com/community/t/flexbox-vs-inline-block/354432/12

Thanks.

P.S. I bought some books like 4 years ago when you still got PDFs from SItePoint. thank God I downloaded them then, because these days everything is subscription based which I hate.

Here are a few books I found:

  • HTML & CSS - A SitePoint Anthology (2016)
  • CSS Master (2015)
  • HTML5 & CSS3 for the Real World (2015)
  • Jump Start Responsive Web Design (2017)

@Ray.H,

When I responded to your post above at about 3am last night, I got threads mixed up.

Per my other ramblings, I posted a solution in my other thread for anyone curious…

https://www.sitepoint.com/community/t/flexbox-vs-inline-block/354432/15

Am still curious if anyone can tell me if the SitePoint books that I bought are any good.

Thanks.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.