Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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 :)