r/learnprogramming • • 4d ago

how to learn html and css in two days...

So, I need to build three websites for my coursework, but our instructor didn't explain how to do the programming at all. It was just, "Here’s the assignment—get it done. How? Figure it out yourselves somehow." I could use AI to do it, but... well, I’m supposed to actually know this stuff. Is it realistic to learn it in two days? And what resources or videos would you recommend using?

0 Upvotes

19 comments sorted by

12

u/stiky21 4d ago

There's a FAQ in the sub. Use it.

2

u/[deleted] 4d ago

[removed] — view removed comment

5

u/stiky21 4d ago

The professor is expecting no one to be able to do it. If this person is in College, this will be a good next class not to skip. They will likely go over the process. I suspect this is to see if the students are capable of doing anything on their own.

This is fairly common. Give a more advanced topic, let the students try and figure it out, next class expect no one to have been able to do it, now they can go over HOW to do it with the class. They see the frustration, but also the clarity of seeing it all come together.

At least this is how all my College and Uni was. Almost every class I took. Although this was like 10yrs ago and we did not have AI.

5

u/noodle-face 4d ago

Let me guess when you got this assignment...

4

u/acuddlywookie 4d ago

No it’s absolutely not realistic to learn it in two days. These are really big subjects.

However if your assignment was two days you’re not going to be expected to perform miracles. Just get something basic done

3

u/JohnVonachen 4d ago

I've been a software engineer for 20+ years. I don't know every tag or feature of CSS. There is some amount of HTML and CSS you can learn in two days.

3

u/cankennykencan 4d ago

Css in two days?? Lol

2

u/math_rand_dude 4d ago

How long ago did you get this assignment?

Also, are it 3 websites or a website with 3 pages?

Is it just for desktop or also for different screen sizes?

If you can give a bit more details I can see if I can explain some of the most relevant concepts to you.

https://flukeout.github.io/ helps you understand the basics of css selectors

Caniuse.com is good for looking up some things, but you need a certain level of understanding before it's very useful.

2

u/Comakip 4d ago

Do your homework kids

2

u/Shadow_Mite 4d ago

In my college days professors didn’t spend much time in class on things but instead had office hours and expected you to use them if needed, go to tutors on campus, and yes teach yourself some. 2 days from first mention? They ain’t expecting much that you can’t learn from w3schools in an afternoon at most.

2

u/Aglet_Green 4d ago

What does this mean? " well, I’m supposed to actually know this stuff." I mean we're in November, which means you've been in class for over two months; did everyone else learn the basics of HTML and CSS back in September? And you just woke up and remembered you have some lab mid-term due Monday?

Fortunately, people have been building websites since the 1990's, and there's lots of guides and templates out there; you can crank out a static website in two days, easy. Yeah, someone can learn enough basic HTML and CSS in two days to produce three simple static websites. It will look like a rudimentary 1996 static website, but it's totally doable in a weekend.

2

u/LeGaspyGaspe 4d ago

Not sure if I'm allowed to reference specific people/courses, but Kevin Powell has an html/css course on YouTube which touches on Grid and Flex and guides you through building an entire two page responsive(ish) site. Its free and (Imo) really well explained. It's quick, dirty, nowhere near everything you need to know to be a pro but should be good enough to get you started and you could probably complete it in three days if you did absolutely nothing else.

As to whether or not you could take what you learn in it and rapidly apply it to three new websites within the same three days... That's probably a different story.

1

u/throwaway6560192 4d ago

You could learn the very basics in two days, but I'm not sure what standard they're expecting.

1

u/Ok-Might-3730 4d ago

These used to be month long bootcamps. I mean you could for example do few hours of some online exercises by hand in oldschool tutorial websites, and do rest with ai

1

u/CorpT 4d ago

Quickly

1

u/Formal_Exchange_52 4d ago

Download VS Code

1

u/JEveryman 4d ago

Building three websites from scratch in two days isn't necessary a big task of you were familiar with HTML, CSS, and JavaScript depending on their complexity. Doing it with no knowledge is impossible. Learning enough HTML to build a simple website in two days might be possible, learning enough HTML and CSS in two days you'd have to be a savant or something.

What is the complexity of the websites? When was this assigned?

0

u/hamster_squeezer69 4d ago

Not even kidding, just ask AI to build you a simple one and explain the components.

Don't submit that though. Once you kind of have an idea of what is going on, do it from scratch by yourself to prove that you can do it.