View on GitHub

code-201-reading-notes

Text in HTML

When we creating a web page, we must add tags (known as markup) to the contents of the page.These tags provide extra meaning to the btrowser .

HEADING

sub/sup

br

Semantic Markup

its text elements that are not intended to affect the structure of your web pages, but they do add extra information to the pages .

sm

so HTML elements are used to

  1. describe the structure of the page (e.g. headings, subheadings, paragraphs).
  2. They also provide semantic information (e.g. where emphasis should be placed, the definition of any acronyms used, when given text is a quotation).

Nivo Quiz

  1. < br / > What type of tag is this? A. Break tag

B. A broken one

C. An opening tag

  1. which is the correct way to tag an image?

A. src=”image.jpg/gif” alt=”type some text”

B. Src=”image.jpg/gif” alt=”type some text

What CSS does ?

css

CSS allows you to create rules that specify how the content of an element should appear 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 .

CSS style types

CSS

Css Benefits …

  1. CSS treats each HTML element as if it appears inside its own box and uses rules to indicate how that element should look.

  2. Different types of selectors allow you to target your rules at different elements.

  3. CSS rules usually appear in a separate document, although they may appear within an HTML page

Nivo Quiz

Q 1 - Which of the following is a component of CSS style rule?

A - Selector

B - Property

C - Value

D - All of the above.

Q 2 - CSS stand of what ??

javaScript

WHAT IS A VARIABLE?

js

Data Type

data

what is the ARRAYS ?

An array is a special type of variable. It doesn’t just store one value; it stores a list of values.

arrays

so js

Decisions and Loops

Operators

oo

00

Conditional Statements

onditional statements are used to perform different actions based on different conditions.

Very often when you write code, you want to perform different actions for different decisions.

You can use conditional statements in your code to do this.

In JavaScript we have the following conditional statements:

Use if to specify a block of code to be executed, if a specified condition is true Use else to specify a block of code to be executed, if the same condition is false Use else if to specify a new condition to test, if the first condition is false

Sources: HTML & CSS Design and Build Websites - By: Jon Ducket Javascript and Jquery Interactive - By: Jon Ducket https://www.w3schools.com/