reading-notes


Project maintained by mr-atta Hosted on GitHub Pages — Theme by mattgraham

HTML

Text

Text

Headings

Paragraphs

Superscript & Subscript

Line Breaks & Horizontal Rules

Visual Editors & Their Code views

Strong & Emphasis

Quotations

Abbreviations

Author Details

Changes to Content

CSS

What CSS does?? CSS will treat each element as if it lives inside its own box

html css

BLOCK & INLINE ELEMENTS

“In this example, block level elements are shown with red borders, and inline elements have green borders. The <body> element creates the first box, then the <h1>, <h2>, <p>, <i>, and <a> elements each create their own boxes within it. Using CSS, you could add a border around any of the boxes”.

CSS Associates Style rules with HTML elements

CSS works by associating rules with HTML elements. These rules govern how the content of specified elements should be displayed. A CSS rule contains two parts: a selector and a declaration. css1

How Elements Are Displayed

CSS declarations sit inside curly brackets and each is made up of two parts: a property and a value, separated by a colon. css2

Using External CSS

CSS Selectors

There are many different types of CSS selector that allow you to target rules to specific elements in an HTML document.

  • Class Selector : mentioned using . , in style
  • ID Selector : mentioned using # , in style

Why use External Style Sheets?

JS

STATEMENTS

A script is a series of instructions that a computer can follow one-by-one. Each individual instruction or step is known as a statement.

  • Example: var today= new Date{); var hourNow = today.getHours{) ; var greeting;

COMMENTS

WHAT IS A VARIABLE?

DATA TYPES

  1. NUMERIC
  2. STRING
  3. BOOLEAN

var

Operators

Operators

AND , OR , not

Loops

loop

for

while