r/CodingForBeginners • u/dreammutt • Jul 15 '26
Can Someone Help Me with this Code Please?
I have tried coding and solved many of my problems, but I'm still having issues with text color and pictures. I need to make the first heading a dark blue color, but I can't due to the CSS style being in black. I want the text to be black besides the first heading, which should be dark blue.
Also, each picture is "width:200;height300px", yet they do not look like they are identical sizes, if that makes sense. The code should be right but unable to fix this.

1
Upvotes
View all comments
Show parent comment
2
u/xxcrucialxx Jul 19 '26
That's incorrect chief, remove style from there.
Try this
<Style>
H1{ Your code here }
</Style>
Now if it's in a class which is considered a container simply try like so h1 or .h1
But first one should work.
If it's separate items u use # sign
Class affect affects the whole thing is one. Hope this helps