general assembly - Chen Hui Jing [PDF]

TO FIND OUT MORE... (online course). (online course). (online resources). (website) by. (book) by. (book). Dash. Codeaca

0 downloads 16 Views 2MB Size

Recommend Stories


General Assembly
It always seems impossible until it is done. Nelson Mandela

General Assembly
Suffering is a gift. In it is hidden mercy. Rumi

General Assembly
Suffering is a gift. In it is hidden mercy. Rumi

General Assembly
Never let your sense of morals prevent you from doing what is right. Isaac Asimov

General Assembly
In the end only three things matter: how much you loved, how gently you lived, and how gracefully you

General Assembly
At the end of your life, you will never regret not having passed one more test, not winning one more

General Assembly
Your big opportunity may be right where you are now. Napoleon Hill

General Assembly
Pretending to not be afraid is as good as actually not being afraid. David Letterman

General Assembly
Your task is not to seek for love, but merely to seek and find all the barriers within yourself that

General Assembly
We can't help everyone, but everyone can help someone. Ronald Reagan

Idea Transcript


GENERAL ASSEMBLY

CODING FOR BEGINNERS: HTML AND CSS By Chen Hui Jing / @hj_chen

GENERAL ASSEMBLY

ABOUT WEB DEVELOPMENT

WHAT IS WEB DEVELOPMENT? The process of building websites

HOW TO GET STARTED? Your computer

A clear mind

This image is pure CSS.



Modified from this brilliant codepen by Will Paige





CODE IS NUMBERS, LETTERS AND SYMBOLS Regardless of what programming language you use, all code can be read in any text editor. Javascript

C

Assembly

close: function () { #include "8cc.h" ctable segment para public '>Gallery

Relative paths ask for a file without specifying a server. Gallery

The browser will hence assume you're referring to the same server as the page you're on.

GENERAL ASSEMBLY

CREATE YOUR FIRST PROJECT

GENERAL ASSEMBLY

HYPERTEXT MARK-UP LANGUAGE (HTML)

HYPERTEXT MARK-UP LANGUAGE (HTML) Structures the document and tells browsers what a certain element's function is Content is "marked-up" using tags Tags usually (but not always) come in pairs,

This is an example of a paragraph element



The opening tag, closing tag and everything in between is a HTML element

STRUCTURE OF HTML DOCUMENT Example page Hello world

DOCUMENT TYPE ELEMENT

Appears just above the tag Tells the browser to render the HTML in standards mode Let's validation software know which version of HTML to validate against Advised to use the HTML5 doctype

ELEMENT // HTML code for web page

Represents the root of an HTML document Encouraged to specify a language attribute Language attribute aids speech synthesis (screen readers), translation tools and other language-related functionality

ELEMENT Your site title

Contains instructions for the browser and meta alt="Site logo">
  • Home
  • About
  • Contact
Page header

Some content in a paragraph. Brownie tiramisu toffee sweet roll sesame snaps halva

Represents the main content of the document Should only be one element on a web page

FORMATTING YOUR WEB PAGE



    • Accordingly,

      Smile Life

      When life gives you a hundred reasons to cry, show life that you have a thousand reasons to smile

      Get in touch

      © Copyright 2015 - 2024 PDFFOX.COM - All rights reserved.