reading-notes

Class 04 Notes

Why this is important

  1. An <a>“anchor” element

  2. The href attribute contains the url to the website you want to link

  3. We can ensure links on our pages are accessible to all readers by making the link clear on what is for users who might be utilizing a screen reader.

CSS Layout: Normal Flow CSS Layout: Positioning

  1. “Normal flow” is the default layout for websites if the developer hasn’t changed the layout.

  2. Block level elements take up the entirety of the width of the page(unless given a margin) so other elements will not be able to sit to the left or right of them. Inline elements only take up the space of the actual content itself so they’re able to sit next to eachother.

  3. Static positioning is the default positioning on an element. Static positioning means that the element will be in its normal position in the document “Nothing special to see here” source

  4. Advantages of absolute positioning are that you are able to move an element to a desired location without having to worry about document flow. Great for different features like popup information boxes and features that can be dragged and drop on the webpage.

  5. The key differenece between fixed positioning and absolute positioning are that fixed position doesn’t position the element based on its relative container it positions it relative to the viewport(visible website on a screen)

Learn JS

Miscellaneous

Things I want to know more about

In class lecture

Git Stuff (Pull/Forking)

  1. Fork from Partner on github

  2. Clone repo down locally

  3. Do work, ACP

  4. Pull request on Github to originator repo

  5. Main person has updates from forker.

Functions