r/WebdevTutorials • • Sep 01 '20

Need help

Would it be better practice to do all HTML first and then move on to CSS when designing a web page? Or go back and forth?

1 Upvotes

17 comments sorted by

View all comments

Show parent comments

3

u/Shitster67 Sep 02 '20

That comes way later. After CSS, if should go for some CSS framework, like Bootstrap, foundation, bulma etc.

I personally prefer bulma because it is light and it gives you more control. Bootstrap is famous, so every other website uses it and you end up looking very similar to others unless you put in a lot of modification.

After CSS, you can learn SASS. This is optional. Writing CSS using SASS makes it easier to manage and keeps your code DRY (don't repeat yourself). Basically, sass code kind of automates the repetitive code of CSS and spits out a CSS file for your website. I know it sounds overwhelming but writing sass code is almost same as writing CSS and it won't be hard at all once you know CSS.

After this point, you'll be ready for javascript and stuff like reactjs or vue.

3

u/Nizz3hx Sep 02 '20

Awesome, thank you for this! I’ve started HTML and wasn’t sure what direction I should be headed after/in tandem with so this has helped a tonne! :)

2

u/Shitster67 Sep 02 '20 edited Sep 02 '20

Once you start CSS, there is this youtuber, Kevin Powell. You should definitely check him out. Try to build something of your own instead of just following the code they teach in the tutorial. If you get stuck, google it up and ask on forums like stackoverflow. You'll learn faster this way.

For setting up bulma with SASS, you can follow this tutorial, because bulma's documentation is not very beginner friendly. The tutorial is a one time set up.

Edit: focus more on newer ways of making layouts. That is, there will be tutorials on how to make layouts and arrange and align images, icons etc using float in CSS. Using float for layouts is the old way. Flex and grid in CSS are the new things to do it more efficiently.

And learning how to use GITHUB will serve you in the future for collaborating and keeping a copy of previous versions of your work in case you wanna undo anything. But that's for later.

2

u/Nizz3hx Sep 02 '20

I will do, thanks again! It’s super appreciated as I just decided to start and had no direction.

2

u/jseego Sep 02 '20

Another great website to be aware of is CSSTricks. It sounds like clickbait but it’s a very well established and reputable site.

2

u/Nizz3hx Sep 02 '20

Nice, thanks! How heavy a topic is CSS compared to HTML?

2

u/jseego Sep 02 '20

Think of them both as different ways to structure information.

Before learning either one, I’d spend some time learning about the DOM (document object model) if you haven’t already - it will make html & css easier.

2

u/Nizz3hx Sep 02 '20

I’ll take a look at that, I really want to make a good go of this and the advice I’ve been given is incredibly helpful! Thank you :D

→ More replies (0)