r/learnprogramming • • 16d ago

About HTML & CSS

How do you practice HTML and CSS without following tutorial all the time

0 Upvotes

14 comments sorted by

3

u/serge-mv 16d ago

Come up with a web site layout yourself in implement it from scratch.

Or google a web site template, delete the html and css if they have it, keep the images and redo it yourself.

3

u/AntiCitizen6 16d ago

Try to recreate websites that have a layout or theme that you enjoy.

Also, I liked making pages describing weapons or items from my favorite games. I made a page about the Gravity Gun from Half Life.

2

u/buzzon 16d ago

Make your own web site without following a tutorial

2

u/Icemourne_ 15d ago

Find website and try recreating it's look and responsiveness (how it changes then you resize)

2

u/phtantomflare 15d ago

Build and practice on what you've already know, pick a small project like a personal homepage and build it from scratch. If you get stuck, look up just that specific thing, then try a new page without the tutorial

2

u/zaio_institute 15d ago

The best thing I found was rebuilding real websites. Pick a site you like, or even just one section like a navbar or pricing card, and try to recreate it from scratch without looking at the code. Then open DevTools afterwards and compare how they did it. You learn a ridiculous amount that way.

Frontend Mentor is great for this too because they give you designs to build without step-by-step instructions. If flexbox or grid aren’t clicking, Flexbox Froggy and Grid Garden are useful, and CSS Battle is fun once you’re more comfortable.

I’d also keep MDN web docs open and just look things up as you go instead of going back to tutorials every time. That’s pretty much how people work anyway.

And eventually build your own portfolio site. Having something you actually care about makes it much easier to push through the annoying parts.

1

u/BranchLatter4294 15d ago

Make a site.

1

u/desrtfx 15d ago

You have the entire internet at your fingertips. Pick a random website and recreate its looks (not the entire functionality).

People practiced programming way before the tutorials existed. They came up with their own ideas - and that's how it works.

1

u/xarop_pa_toss 15d ago

How do you practice anything without watching other people do it for you? You imitate and make changes.

1

u/BotSlamminDayNNight 15d ago

grab source of url and modify it with a different look and feel

1

u/ConnectAffect2346 15d ago

The best thing to do is to choose a topic and create your own web site based on that topic while trying to make it modern like for instance adding navigation bar, implementing carousel elements and making it look dynamic all of that can greatly help you grasp basic web design and it can help if you want to make web applications in future 🙂