reading-notes

Class 4 Notes

an ‘< a > element using and href attribute.

The href attribute contains what information?

It contains the web address.

We can create a hyperlink directory within our webpage files.

CSS Layout

What is meant by “normal flow”?

Its basically just formatting your css document in the way that the elements appear on the html page

What are a few differences between block-level and inline elements?

block level fills all the elements space where inline is only the size of the actual content. With block everything will appear on a new line just below the last wher inline they will appear on the same line or even wrap.

___ positioning is the default for every html element.

Block

Name a few advantages to using absolute positioning on an element.

It allows you to creat UI features that dont interfere with the layout of the web page It makes iut easier to make sure content maintains specific distances away from other pieces of content

What is a key difference between fixed positioning and absolute positioning?

Absolute uses the last piece on content as context of where to be positioned where fixed is based off how it is being viewed by the user.

Functions – Reusable Blocks of Code

Describe the difference between a function declaration and a function invocation.

declaration you are essentially saying what a function is and invoking the funtion is just telling it to execute a a specific time.

What is the difference between a parameter and an argument?

? (Couldnt find this)

6 Reasons for Pair Programming

Pick 2 benefits to pair programming and reflect on how these benefits could help you on your coding journey.

Greater Effficiency and collabarative environment. I think just see in g others mistakes or even how they came about a solutoion is going to help one find the fastest way to solutions in the future but also show you how to work within a team setting like the real world!