HTML Links, JS Functions, and Intro to CSS Layout
Reading questions and answers
Learn HTML - Creating Hyperlinks
- To create a basic link, we wrap text or other content inside what element?
The <a>
element is used for this.
- The
href
attribute contains what information?
Contains the URL of a link.
- What are some ways we can ensure links on our pages are accessible to all readers?
Making use you use the alt
attribute to give your links a description for readers with accessibility needs.
CSS Layout - CSS Layout: Normal Flow CSS Layout: Positioning
- What is meant by “normal flow”?
It is the way that the elements are displayed/arranged on the website when no CSS styling is applied.
- What are a few differences between
block-level
and inline elements
?
A block-level
element are elements with specific behavior. This element acts more independent as its own unit in a website. A inline elements
is within other elements and it is applied to elements that are purposed for text such as bold, italic, <spam>
- ___ positioning is the default for every html element.
Static
- Name a few advantages to using absolute positioning on an element.
An advantage of this is that it gives you full control of elements with this attribute. It is less likely other elements position within the HTML will interfere with what you are trying to do.
- What is a key difference between fixed positioning and absolute positioning?
Fixed position will be fixed on the visible window, so when you scroll the element will remain stationary; there for it’s reference is based of of the window of the screen. With absolute, the element is positioned in reference to the parent element.
Learn JS - Functions – Reusable Blocks of Code
- Describe the difference between a function declaration and a function invocation.
A function declaration is when you are creating a function. A function invocation, is when you are calling that function into action.
- What is the difference between a parameter and an argument?
Parameters are the place holders in the function when you are declaring it. Augments are the values fed to the function when it is invoked (if it is needed for the function).
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.
I quickly saw the benefits for practicing communication and teamwork development. This is crucial to work in any industry, even if you will be working remote. Commination and teamwork required for any innovative effort.
Things I want to know more about