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.
:keyboard: 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 :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.
Step 9: Create a list
Your site with your new photo can be seen at: https://jvazhiy.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.
:keyboard: 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 :pencil: to edit the HTML.add-links-and-lists
.Look for my response in your new pull request