View on GitHub

reading-notes

Chapters:

  1. Chapter 4: “Links”
  2. Chapter 14: “layout” (pp.300-329)
  3. Chapter2 :Functions, Methods, and Object
  4. The Article:

img

<a href = "mailto: abc@example.com">Send Email</a> This code will generate the following link which you can use to send email.

Send Email Now, if a user clicks this link, it launches one Email Client (like Lotus Notes, Outlook Express etc. ) installed on your user’s computer. There is another risk to use this option to send email because if user do not have email client installed on their computer then it would not be possible to send email.

<p>Check out <a href="https://www.freecodecamp.org/" target="_blank" rel="noopener noreferrer">freeCodeCamp</a>.</p>

2. Chapter 15: “Layout”

To control just how an element will appear in the layout, you need to use the CSS position property. In addition, you can utilize some other position-related properties: top, right, bottom, left, and z-index. (We’ll get more into those later on.)

The position property can take five different values: static,relative, absolute, fixed, and sticky.

Functions, Methods, and Object

  1. Access, Add, and Remove Items from Objects Properties in objects can be accessed, added, changed, and removed by using either dot or bracket notation.

When to Use Arrays :

 We use arrays whenever we want to create and store a list of multiple items in a single variable. Arrays are especially useful when creating ordered collections where items in the collection can be accessed by their numerical position in the list. Just as object properties can store values of any primitive data type (as well as an array or another object), so too can arrays consist of strings, numbers, booleans, objects, or even other arrays.  

Access, Add, and Remove Items from Arrays Arrays use zero-based indexing, so the first item in an array has an index of 0

img

Pair programming

consists of two programmers sharing a single workstation (one screen, keyboard and mouse among the pair). The programmer at the keyboard is usually called the “driver”, the other, also actively involved in the programming task but focusing more on overall direction is the “navigator”; it is expected that the programmers swap roles every few minutes or so.

Reasons for pair programming:

  1. help you to be more effective
  2. challange you
  3. it helps you in your social life
  4. it is effective with job interviews
  5. learning from a partner