HTML Introduction to HTML and CSS Make It Beautiful With CSS Test: Styling by Element and Class

Give the paragraph a border that is 4px wide, solid and red.

<!doctype html>
    <link href="styles.css" rel="stylesheet">

    <p class="main-pg">My amazing website</p>

border: 4px solid and red;

1 Answer

Zak Erving
Zak Erving
22,830 Points

Remove and.

.main-pg {
  border: 4px solid red;