Code-201-reading-notes


Project maintained by mohsmadi Hosted on GitHub Pages — Theme by mattgraham

HTML

Chapter 02

Alt Text

When creating a web page, you add tags (known as markup) to the contents of the page. These tags provide extra meaning and allow browsers to show users the appropriate structure for the page.

We’ve tow type of tag ( markup ):

GitHub Logo

HTML elements are used to describe the structure of the page (e.g. headings, subheadings, paragraphs).

CSS

GitHub Logo

chapter 10

Why use External Style Sheets?

An external stylesheet is a standalone . css file that is linked from a web page. The advantage of external stylesheets is that it can be created once and the rules applied to multiple web pages. … Inline styles relate to a specific HTML tag, using a style attribute with a CSS rule to style a specific page element.

# JavaScript

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. Statements should end with a semicolon.

You should write comments to explain what your code does. They help make your code easier to read and understand. This can help you and others who read your code.

WHAT IS A VARIABLE?

A JavaScript global variable is accessible from any function. A variable i.e. declared outside the function or declared with window object is known as global variable. For example:

< script>

GitHub Logo