code link
task link
Any advice would be heartily appreciated.
Hello @Dinesh_Sake
you doing great well done just little notice:
- if you checked your result you would see the font is applied for the whole container while it should be applied only to the first p in the container
to achive that there 2 way
.container p:first-child{
font-size: 150%;
}
.container p:first-child::first-line{
color: red;
}
but if you want to make it more gerenic so despite the first element it p or something else
use this
.container >:first-child{
font-size: 150%;
}
.container >:first-child::first-line{
color: red;
}
hope that help and have a nice day
2 Likes