4.Header/Navigation


#1


https://www.codecademy.com/courses/make-a-website/lessons/bootstrap/exercises/header-nav?action=lesson_resume&link_content_target=interstitial_lesson


No error messages. The coding just isn't accepted.


<!DOCTYPE html>
<html>
<head>
  <title>Skillfair</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
  <link h
        ref='https://fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
<body> 
  <header  class="container">
    ...
  </header>
  <div class="row">
    <h1 class="col-sm-4">Heading</h1>
    <nav class="col-sm-8 text-right">
      <p>nav item 1</p>
      <p>nav item 2</p>
      <p>nav item 3</p>
    </nav>
    </div>
    
</body>
</html>
.


#2

This does not look right. href should not contain white space.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.