once the site is finished, if you go to any page that isn't defined (for me, any page not named
index.html, brands.html, or history.html) it will show you the 404
page.
based on your knowledge of css, what do you this does?
the answer: it selects an element that has the id chobani and it sets the width to 300 pixels.
the :hover makes it so that if the element is hovered, it's width will increase to 500 pixels
and it will gain a solid red border, 20 pixels wide.
it counts as being hovered when the cursor is over the element.
unhovered:
hovered:
(the yellow-brownish color is the background)
a list is a collection of items. a grocery list is a collection of items you want to get from the grocery store.
you can either do:
<ul>
</ul>
ul means unordered list. each element inside of the list will have a bullet point to the left of it.
-- or --
<ol>
</ol>
ol means ordered list. each element inside of the list will have a number to the left of it counting from 1.
the ul tags declare an unordered list. each li element declares an item in that list. you have to add content inside of each li about the item.
there's two main types of special links: mail and call.
the format is mailto:<email address>.
if i click on that link, the mail app on my computer opens and creates a draft for an email to that email address.
the format here is tel:<phone number>.
if i click on that link, my computer will try calling that phone number.
add this whereever you'd like!! you can put it directly in the <body> or if you have a <footer> or <nav>, you can put it in there too! just remember that HTML renders elements in the order of the code.
i used a youtube video!
a declares a link. the href= attribute describes where that link should lead to.
if i press on the link, it will lead me to the youtube video.