Styles for paragraph are already written and linked.
But the heading styles are missing.
Create them in a separate file heading-styles.css
, which should be placed in the css
folder.
- the heading text must be centered.
- the external stylesheet must be linked to
index.html
This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task
css/paragraph-styles.css
p {
color: olivedrab;
}
index.html
<!DOCTYPE html>
<html>
<head>
<title>History</title>
<link rel="stylesheet" type="text/css" href="./css/paragraph-styles.css">
</head>
<body>
<h1>History of programming languages</h1>
<p>In the 1940s, the first recognizably modern electrically powered computers were created.</p>
<p>The limited speed and memory capacity forced programmers to write hand-tuned assembly language programs.</p>
</body>
</html>