Skip to content

Latest commit

 

History

History
71 lines (35 loc) · 1.92 KB

readingnotes4.md

File metadata and controls

71 lines (35 loc) · 1.92 KB

Readings: HTML Links, JS Functions, and Intro to CSS Layout

Reading Learn HTML Creating Hyperlinks

To create a basic link, we wrap text or other content inside what element?

  • To create a basic link, we have to use an anchor tag element using the href attribute.

The href attribute contains what information?

  • The href attribute contains the hyperlink to the content displayed.

What are some ways we can ensure links on our pages are accessible to all readers?

  • Adding alt text for an image giving it a discription.

CSS Layout

CSS Layout: Normal Flow CSS Layout: Positioning

  • absolute positioning can fixes

What is meant by “normal flow”?

  • When elements are displayed on html before touching CSS.

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

  • In a block layout, boxes are stacked vertically, starting from the top of a containing block. The left outer edge of each box aligns with the left edge of the containing block.
  • In an inline element

___ positioning is the default for every html element.

  • Static

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

  • With absolute postiioning you are able to place any elelment exaclty where you wamt.

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

  • With fixed positioning the content will not be disotred when scrolling down on a web page.

Learn JS Functions – Reusable Blocks of Code

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

  • Declartation defines the function name
  • invoking will get the function to execute code

What is the difference between a parameter and an argument?

  • Parameter are placeholders in a function
  • Arugments are the function call

Miscellaneous 6 Reasons for Pair Programming

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