CSS: Changing sentence color in an html paragraph using CSS


I am working on an HTML and CSS project called Dasmotos Arts and Crafts. This is a CodeAcademy project. See link to project brief:

Here is the link to the exercise on Code Academy: https://www.codecademy.com/paths/front-end-engineer-career-path/tracks/fecp-22-developing-websites-locally/modules/wdcp-22-developing-with-css/projects/dasmoto

In each paragraph there is one sentence which has its own styling requirements (blue and bold). I created a separate paragraph element for the sentences which needs unique styling. However, the sentence then looks like it is not part of the original paragraph or on a separate line. How does one use CSS styling to change a sentence within a paragraph, assuming that I use an external CSS page?

Help from the community will be appreciated.

Hi there!

Have you solved your problem yet?

If not, I believe you will find <span> to be quite helpful. :wink:

1 Like

Yes I solved it thanks :relaxed:

1 Like