Tell us what’s happening:
Hello everyone.
I have problem with the external CSS of “div” element.
In other posts I see it could be a bug?
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" link="styles.css">
<style>
p {
background-color: green;
color: white;
font-size: 18px}
</style>
<title>Lesson A</title>
</head>
<body>
<div>ABC</div>
<p>def</p>
<button style= "background-color: orange; font-size: 18px">BUTTON</button>
</body>
</html>
/* file: styles.css */
div {
background-color: red;
color: white;
font-weight: bold;
font-size: 32px;
text-align: center
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Challenge Information:
Learn CSS Foundations Projects - CSS Foundations Exercise A