You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Sometimes it takes a few minutes for a GitHub Pages site to reload. If your changes still don't appear after a few minutes, you might try clearing the cache in your browser and refreshing the page.
Ordered and unordered lists
Lists are used all over the internet. They come in two flavors: ordered and unordered.
This
Is an
Ordered list
And...
This
Is an
Unordered list
You can create a list using the <ol> tag for ordered lists, and the <ul> tag for unordered lists. Then, each item must be wrapped in an <li>, or list item, tag. Here's the code that generates the list I showed you above:
For the next exercise, you are going to create a list of your favorite websites. Later, we will add links so you can access those links quickly. For now, focus on creating the individual list items.
⌨️ Activity: Create a list of your favorite sites
Edit the index.html file in your master branch by using this direct link or going to the Code tab, clicking on the index.html file, clicking the pencil 📝 to edit the HTML.
Inside the body tag, create a list, either ordered or unordered, of your favorite sites on the internet.
In the Commit changes section, enter a commit message that describes what you've done.
Ensure you've selected Create a new branch for this commit and start a pull request.
Give your branch a descriptive name, like add-links-and-lists.
Click on Commit changes.
Give your pull request a title, and a comment.
Click on Create pull request.
Look for my response in your new pull request
The text was updated successfully, but these errors were encountered:
Step 9: Create a list
Your site with your new photo can be seen at: https://TimoLin.github.io/intro-html/
Ordered and unordered lists
Lists are used all over the internet. They come in two flavors: ordered and unordered.
And...
You can create a list using the
<ol>
tag for ordered lists, and the<ul>
tag for unordered lists. Then, each item must be wrapped in an<li>
, or list item, tag. Here's the code that generates the list I showed you above:And...
For the next exercise, you are going to create a list of your favorite websites. Later, we will add links so you can access those links quickly. For now, focus on creating the individual list items.
⌨️ Activity: Create a list of your favorite sites
index.html
file in your master branch by using this direct link or going to the Code tab, clicking on theindex.html
file, clicking the pencil 📝 to edit the HTML.add-links-and-lists
.Look for my response in your new pull request
The text was updated successfully, but these errors were encountered: