AI 09 - Code-the-Dream-School/intro-to-programming-2024 GitHub Wiki
Add "boilerplate" HTML code to your index.html file.
- Define the document type at the top of the file by typing in on line 1.
- Now wrap your Name, About, Experience, and Connect sections and their content that you built last week in an element
- Before your name, but after the opening tag, insert a element.
- Inside the element, add a <title> element to title your webpage
- Below your <title> element, add additional elements (at least two) from the meta elements you've learned about
- After the closing tag, begin the body of your page by adding the opening element.
- Close the body of your page by adding the closing element between your last social media link and the closing tag
- Make sure all of the content you wrote last week is wrapped in the tags
- If you did not use any HTML code last week, wrap your content in element tags now. As a reminder you should have:
- Name in an h1 element
- About in an h2 element
- The paragraph about you in a p element
- Experience in an h2 element
- Your listed experiences in a ul element, with each individual item in a li element
- Connect in an h2 element
- Your social media links in a elements, and you can also wrap them in ul and li tags if you wish
- Wrap each of the About, Experience, and Connect sections in a element.
- Give each of these sections an "id" property with the same name as the section. Example: The About section would look like this:
<section id="About">
<h2>About</h2>
<p>This is a paragraph about me. Here's more info about me.</p>
</section>STRETCH GOAL (optional): Feel free to use even more HTML elements by adding images, navigation menus, etc.
