hello friends how can I target p inside multiple sepecific elements ??
for example paragraph inside many sections elements they have different ids they are all withing article element??
2 Replies
You could apply a class to each section. You should not target ids in your css anyway.
But using id in your html can be useful since you can link to an id and it will scroll down to that section.
So you can do
Or you could remove the id and do
So now youc an target all sections with
.section
or you can target one of them with .section3
for examplethank you so much