Lab5-Favorite's Lists

This lab was to create a table consisting of our favorite things in multiple categories which were movies, food, subject, music, and grocery list. I supposed it was just a list instead of a list of our favorite things, but either way it was more complex than it seems. This is because we essentially had to create a list within a list in our code. For three of the categories there was subsections; for the favorite subjects we had to include two reasons for it to be our favorite, for favorite music we had two genres then three artist and finally two songs, and for the grocery list we had to include the specific type of food and at least five items for each type. There was more though, we also had to follow a specific protocol which was that each list had its own type of list. What i mean by this is that the list could be ordered or unordered, and the the symbol for the lists( bullet points, roman numerals) are different.
The code for the lab consisted of a table with five columns and two rows, but withing the second row each column had the list embedded within. The tags for list differ in only one place which is whether the list is ordered or unordered; if the list is ordered then the tag is <ol> and <ul> is unordered. Another tag, <li>, is needed as well because it is the list item that makes up the actual list. This is an example of how the code would look like:

The overall intention of this lab was to further our knowledge and creativity in HITML because now we can create complex structures while still maintaining organizations.


Comments

Popular posts from this blog

Lab4-Color Table

Lab16: My First JavaScript

MLH Local Hack Day 2017