reading-notes

View on GitHub

html process and desihn

first thing to do when desidning a website ** is to ask yourself Who is the Site For ** u need to know about there jobs , income , age, and locatinon aftar that u need to ask yourself Why People Visit YOUR Website ist for information or to purchase a product now u need to organize your information and prodact by doing a site map and before working in your site do a WireFrames make design easier because you know what information needs to appear on which page before you even started now you should make ur Design u have to make it simple as possible and easy on the eye

and of course You can differentiate between pieces of information using size, color, and style

New Html5 Layout elements

HTML5 introduces a new set of elements that allow you to divide up the parts of a page and belwo here are some example

Headers & Footers <header> <footer> The main header or footer that appears at the top or battom every page on the site Navigation element is used to contain the major navigational blocks on the site such as the primary site navigation

Articles <article> acts as a container for any section of a page that could stand alone and potentially be syndicated. asides <aside> has two purposes, depending on whether it is inside an <article> element or no if it is inside , it should contain information that is related to the article if not , it should contain information about the entire page Helping Older Browsers Understand if u have a Internet Explorer 9 you are ok but if u have Internet Explorer 8 or less u need to help him to understand the html and u have to ues JavaScript for that

Extra markup

Summary EXTRA MARKUP

DOCTYPES tell browsers which version of HTML you are using. You can add comments to your code between the markers. The id and class attributes allow you to identify particular elements. The <div> and elements allow you to group block-level and inline elements together. - cut windows into your web pages through which other pages can be displayed. The tag allows you to supply all kinds of information about your web page. Escape characters are used to include special characters in your pages such as <, >, and ©

JavaScript

Before you learn how to read and write the JavaScript language itself, you need to become familiar with some key concepts in computer programming. They will be covered in three sections:

A What is a script and how do i create one A script is a series of instructions that a computer can follow to achieve a goal. u can say its a manual or a recipe To write a script, you need to first state your goal and then list the tasks that need to be completed in order to achieve it.

WRITING A SCRIPT

To write a script, you need to first state your goal and then list the tasks that need to be completed in order to achieve it. we can summary writting the script by this steps

EXPRESSIONS

An expression evaluates into (results in) a single value there are to types of expressions

OPERATORS

Expressions rely on things called operators; they allow programmers to create a single value from one or more values. types of operators