Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Lorenzo Pieri
Lorenzo Pieri
19,772 Points

[SOLUTION to] Last HTML Challenge. Feel free to roam.

As you might have imagined by now, this is not a question. I have seen a lot of people asking for solutions to a problem such as this one, so I am pasting the code I set for my own Challenge. Feel free to check it out if you cannot find a solution on your own, but remember, striving for a solution ON YOUR OWN (at least for a bit!) is probably the best method to learn.

Hope it helps! Love from Italy - Lorenzo.

<!DOCTYPE html>
<html>
  <head>
    <title>HTML Mastery Challenge</title>
  </head>
  <body>
    <h1>HTML Mastery Challenge</h1>

    <!-- Write your code below -->
    <div>
      <h2>Shopping List</h2>

      <p><strong>I am a very strong Paragraph</strong></p>

      <ol>
        <li>This is an item</li>
        <li>This is an item</li>
        <li>This is an item</li>
      </ol>
    </div>

    <form action="#" method="POST" name="the_form">
        <input type="text" name="username" value="Hello World">
        <input type="submit" value="Submit the awesome">
    </form>
  </body>
</html>

1 Answer

Michał Rudzki
Michał Rudzki
7,523 Points

I totally agree that finding the solution on one's own is the best way to go through the challenge. In fact this last assignment checks your knowledge of the whole HTML course, so it may be a good idea to review some of the videos and then try to solve this challenge.

Here's my code, if it may help:

<!DOCTYPE html>
<html>
  <head>
    <title>HTML Mastery Challenge</title>
  </head>
  <body>
    <h1>HTML Mastery Challenge</h1>

    <!-- Write your code below -->
    <div>
      <h2>Shopping List</h2>
      <ol>
        <li></li>
        <li></li>
        <li></li>
      </ol>
      <p><strong>Some text</strong></p>
    </div>
    <form>
      <input type="text" value="Hello World">
      <input type="submit" value="Submit button">
    </form>
  </body>
</html>

Good luck with the challenge :)