Reading-Notes

newsPaper

Text

Headings

Browsers display the contents of headings at different sizes. The contents of an <h1> element is the largest, and the contents of an <h6> element is the smallest. The exact size at which each browser shows the headings can vary slightly. Users can also adjust the size of text in their browser. You will see how to control the size of text, its color, and the fonts used when we come to look at CSS

Paragraphs

By default, a browser will show each paragraph on a new line with some space between it and any subsequent paragraphs.To create a one, surround the words that make up the paragraph with an opening <p> tag and closing </p> tag

Bold & Italic

line

Line Breaks & Horizontal Rules

Horizontal rules and Line breaks There are two tags that can be used to control the layout of your page.

Horizontal Rule <hr> Line break
– inserts a end of line where it appear Neither have a closing tag or associated text.

Their use is fairly straightforward.

vs

Visual Editors & Their Code views

What is a code editor? A code editor is nothing but a text editor that is specialized for writing software. It may be a stand-alone program or part of an integrated development environment (IDE). They make writing and reading the source code easier by differentiating the elements, so the programmers can view their code.

html

Visual editors often resemble word processors. Although each editor will differ slightly, there are some features that are common to most editors that allow you to control the presentation of text

Code views show you the code created by the visual editor so you can manually edit it, or so you can just enter new code yourself. It is often activated using a button with an icon that says HTML or has angled brackets. White space may be added to the code by the editor to make the code easier to read.

em

HTML: The strong and em tags

The and tags are used for emphasizing parts of a text. The tag should be used to indicate strong importance, seriousness, or urgency, like to indicate key phrases in a text for someone skimming it. The tag should be used to represent stress emphasis, like when you’d read the emphasized text in a different tone of voice. Both tags can be used together, where it makes sense.

summary

css

WHY CSS?

internal

sumary

instructions

JavaScript Programs

A computer program is a list of “instructions” to be “executed” by a computer.

In a programming language, these programming instructions are called statements.

A JavaScript program is a list of programming statements.

JavaScript Statements

JavaScript statements are composed of:

Values, Operators, Expressions, Keywords, and Comments.

This statement tells the browser to write “Hello Dolly.” inside an HTML element with id=”demo”:

DATA TYPES

data types

suma

Decision-Making

dicision making

conditional statements are used to perform different actions based on various conditions. The conditional statement evaluates a condition before the execution of instructions.

When you write the code, you require to perform different actions for different decisions. You can easily perform it by using conditional statements.

Types of Conditional Statements The conditional statements in JavaScript are listed below:

condition