Supporting content 1 6/9

Supporting content 1
Great work! We're definitely making good progress.
Below the jumbotron, let's add a piece of supporting content. The piece will have an h3, a p, and an a, like this:
<div>
  <h3>Travel</h3>
  <p>From apartments and rooms to treehouses and boats: stay in unique spaces in 192 countries.</p>
  <p>
    <a href="#">See how to travel on Airbnb</a>
  </p>
</div>
  1. The h3 describes the subheading, the p adds a description, and the a provides a link.
  2. All three elements are grouped together using a div to keep things organized.
Instructions
Under the jumbotron's closing </div> tag, add a piece of supporting content with the following elements:
  1. an h3 element that says "Travel"
  2. p element that says "From apartments and rooms to treehouses and boats: stay in unique spaces in 192 countries."
  3. p element, with an a element nested inside that says "See how to travel on Airbnb". Set the aelement's href attribute to "#".
  4. Wrap everything in a div, as in the example above
Supporting content 1 6/9
<!DOCTYPE html>
<html>
  <body>
  <div class="jumbotron">
  <div class="container">
  <h1>Find a place to stay</h1>
  <p>Rent from people in over 34,000 cities and 192 countries</p>
        <ul>
      <li>Item 1</li>
      <li>Item 2</li>
    </ul>
    **<h3>Travel</h3>**
    **<p>From apartments and rooms to treehouses and boats: stay in unique spaces in 192 countries.</p>**
    **<p>
    <a href="#">See how to travel on Airbnb</a>
    </p>**
    <ul>
      <li>Sign up</li>
      <li>Log in</li>
      <li>Help</li>
    </ul>
    <ul>
  </div>

  </div>


  </body>
</html>

Comments

Popular posts from this blog

MEGA 暫存檔案刪除

IOS GCD多執行緒

利用CMD指令強制刪除