You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The archive diving-deeper-04-styling-anchor-tags-finished.zip has the incorrect code: it doesn't have anything related to styling anchor tags. I've included both before and after making the changes suggested in the videos so others following the course have a choice on where they want to start i.e. making the changes themselves or just taking the changes and looking over them.
The correct code should be as follows before implementing any of the changes in the section:
index.html
<!DOCTYPE html><html_lang="en"><head><metacharset="UTF-8"><metaname="viewport" content="width=device-width, initial-scale=1.0"><metahttp-equiv="X-UA-Compatible" content="ie=edge"><title>CSS Course</title><linkrel="stylesheet" href="main.css"></head><body><nav><ahref="#intro" class="active">Intro</a><ahref="#outro">Outro</a></nav><sectionid="intro" class="main-section"><p>This is the intro section.</p></section><sectionid="outro" class="main-section"><p>This is the outro section.</p></section></body></html>
main.css
body {
font-family: sans-serif;
}
nav {
margin-bottom:16px;
background:#fa923f;
padding:8px0;
}
a {
text-decoration: none;
color: white;
margin:10px;
}
.main-section {
height:800px;
border:1px solid #ccc;
padding:16px;
}
The correct code after implementing the changes in the section:
index.html
<!DOCTYPE html><html_lang="en"><head><metacharset="UTF-8"><metaname="viewport" content="width=device-width, initial-scale=1.0"><metahttp-equiv="X-UA-Compatible" content="ie=edge"><title>CSS Course</title><linkrel="stylesheet" href="main.css"></head><body><nav><ahref="#intro" class="active">Intro</a><ahref="#outro">Outro</a></nav><sectionid="intro" class="main-section highlighted"><p>This is the intro section.</p></section><sectionid="outro" class="main-section"><p>This is the outro section.</p></section></body></html>
The archive
diving-deeper-04-styling-anchor-tags-finished.zip
has the incorrect code: it doesn't have anything related to styling anchor tags. I've included both before and after making the changes suggested in the videos so others following the course have a choice on where they want to start i.e. making the changes themselves or just taking the changes and looking over them.The correct code should be as follows before implementing any of the changes in the section:
index.html
main.css
The correct code after implementing the changes in the section:
index.html
main.css
The text was updated successfully, but these errors were encountered: