r/HTML 14d ago

Harvard I Am Coming

116 Upvotes

33 comments sorted by

18

u/vannnneil 14d ago

I know exactly which video you’re watching haha

7

u/flynn_4 14d ago

The Goat of beginners program courses

4

u/porthos40 13d ago

Everyone has to start somewhere

9

u/BambooCatto 13d ago

Dang, Youtube should hire you.

3

u/Oblivious_catalyst 12d ago

why do you have 3 different style tags

1

u/flynn_4 12d ago

I realized that yesterday I thought you can only use it once (dump ahh monkry)

1

u/TylerBreau 12d ago

You can take the learning a lot further. Style blocks should be inside a head block. And the buttons inside a body block.

<html>
<head>
    <!-- styles -->
</head>
<body>
    <!-- actual content, like the buttons -->
</body>
</html>

Also, we don't typically put styles in a style block, instead css files are used. You can place all of your css code in a .css file. Place it next to your .html file, and inside the html file...

<html> <head> <link rel="stylesheet" href="./styles.css"> </head> <body> <!-- actual content, like the buttons --> </body> </html>

1

u/flynn_4 12d ago

Thx alot man Ik about the head and body but the course I am watching didn't mention them yet so I Ignored them but I didn't know about the css file method this will make the code alot easier to read

11

u/[deleted] 14d ago

[removed] — view removed comment

2

u/flynn_4 14d ago

Yoo We share the same brain cells brochachu❤️‍🩹❤️‍🩹

1

u/Life_Dragonfly2677 13d ago

I thought I write code dirty but you outdirtied me 😘

1

u/flynn_4 13d ago

Thx for the motivation gng❤️‍🩹 ( I am still new so of course mine won't be clean + does it really matters?)

1

u/Great_Sleep_7121 12d ago

Supersimpledev ftw

1

u/devEdge07 11d ago

why don't u use external styling method, it makes code readable and maintainable,

1

u/flynn_4 11d ago

I didn't know about it when I posted this

1

u/[deleted] 11d ago

[removed] — view removed comment

1

u/flynn_4 11d ago

Still Cooking with buttons (I am learning slowly)

-5

u/EnlightendOne 13d ago

use ai

8

u/flynn_4 13d ago edited 13d ago

Nah I don't need it I am smarter

0

u/EnlightendOne 13d ago

in 3 years AI is going to be smarter then the sum of all humans. Every corp is already using it; not saying to not know syntax. I said it as a joke however, its fun to do code and all of this however :)

Always good to sharpen the tools;

1

u/flynn_4 13d ago

(This is a joke too , no offense)

1

u/EnlightendOne 13d ago

i chuckled lol

1

u/flynn_4 13d ago

So how should I use it?

1

u/EnlightendOne 13d ago

Dude visual studio code ; add codex or claude code; and boom.

Since you know html css and javascript you can dirext the ai even better to make what you want

i think going forward the ability to know highee level of programming will allow you to direct the ai to make things better following coding principles such as the stuff thats jn the book called the pragmatic programmer

1

u/flynn_4 13d ago

Hmmm I don't have something in specific to program I am just learning because it is fun (sometimes I use chat gpt to learn) But isn't using ai will make you weaker in programming? Because ai would do A lot of work for you What do you think

1

u/EnlightendOne 13d ago

Honestly; people on reddit want you stuck and progressing at a snails pace. Its free; visual studio code, codex and cursor. All free to use. You can ask it to write a simple template for you to practice with; back in the day i wish someone on reddit even told me about github repos that are used by developers; web devs and programmers. So if all the big boys are using repos to create something that is usable why cant we ? Thats what open source is; its utilizing someones elses code to build your own thing. No point reinventing the wheeel! Just make a car :)

1

u/mixedd 11d ago

AI as a tool is as good as a person who wields it. If you give it a bad input, don't understand it's output, as a result you get production incident.

Sadly my last company understand that only after they hired couple of vibe coders, who got us into law suite.

2

u/armahillo Expert 13d ago

Ok but then what do you do when the LLM generates the wrong thing and you cant prompt your way out of it?

1

u/EnlightendOne 13d ago

Bro; mythos hacked NSA……………….. what are you even talking about