This is my website Lorem ipsum dolor sit amet consectetur adipisicing elit. At, corporis! Necessitatibus dolorum asperiores facere exercitationem nostrum. Lorem ipsum dolor sit amet consectetur adipisicing elit. At, corporis! Necessitatibus dolorum asperiores facere exercitationem nostrum. Lorem ipsum dolor sit amet consectetur adipisicing elit. At, corporis! Necessitatibus dolorum asperiores facere exercitationem nostrum. Lorem ipsum dolor sit amet consectetur adipisicing elit. At, corporis! Necessitatibus dolorum asperiores facere exercitationem nostrum.
apparently, id tags are prioritized over class tags so if u have: .even{ color: red; } #p2{ color: blue; } the result will be blue, regardless whether #p2 is put top or bottom of the .even
Quick question:I can see the style you applied to css works on both html pages,what if you want to apply a different style in page 2 like different color than what is in page one,how do we do that please? By the way,thank you for your videos man,I learn a lot here in just minutes.
Bro Code
This is my website
Lorem ipsum dolor sit amet consectetur adipisicing elit. At, corporis! Necessitatibus dolorum asperiores facere exercitationem nostrum.
Lorem ipsum dolor sit amet consectetur adipisicing elit. At, corporis! Necessitatibus dolorum asperiores facere exercitationem nostrum.
Lorem ipsum dolor sit amet consectetur adipisicing elit. At, corporis! Necessitatibus dolorum asperiores facere exercitationem nostrum.
Lorem ipsum dolor sit amet consectetur adipisicing elit. At, corporis! Necessitatibus dolorum asperiores facere exercitationem nostrum.
/* style.css*/
body{
background-color: black;
}
h1{
color: white;
}
#p1{
color:red;
}
#p2{
color:orange;
}
#p3{
color:yellow;
}
#p4{
color:green;
}
apparently, id tags are prioritized over class tags
so if u have:
.even{
color: red;
}
#p2{
color: blue;
}
the result will be blue, regardless whether #p2 is put top or bottom of the .even
Thanks
yes my queen @Yumiestheitc UwU
Nice that you also exampled classes and id's. Keep it up Bro.
I have learnt, with dark backgrounds use light colored text , otherwise you can’t read it.
You have learnt
Quick question:I can see the style you applied to css works on both html pages,what if you want to apply a different style in page 2 like different color than what is in page one,how do we do that please?
By the way,thank you for your videos man,I learn a lot here in just minutes.
Create a new external style with color element for page 2.
Hope this helps:)
Bro can you make a online store webpage plz
he naver anserd to your comment bro
Ok
bruh
Thanks bro!