SlideShare a Scribd company logo
1 of 65
MCC Web Design Workshop
May 3-31, 2014
Hi! I’m Faye.
• Industrial engineering
graduate
• Mozilla Rep since 2011
• Web enthusiast
• Systems and
procedures staff in a car
manufacturing company
• Education and WoMoz
Team
#MozillaPH #WoMoz
My Contact Details
fayetandog@mozillaph.org
@fayetandog
fb.me/fayetandog
What we will be doing this May
Day 1: HTML/CSS
Day 2: More HTML and CSS practice
Day 3: Intro to Wordpress
Day 4: Building your Wordpress site
Day 5: Continue building your Wordpress site
Some housekeeping…
• Do we have Internet connection?
• Is Firefox installed? 
• Do we have a text editor?
Parts of an HTML Element
Parts of a CSS Ruleset/Rule
Self-study at home
• MozillaPH Education Support Group:
https://www.facebook.com/groups/teachthewebph/
• Remix things on Webmaker.org!
• Try your skills at Codeacademy.com!
• Check tutorials at W3Schools.com!
Some housekeeping…
• Do you have the portable copy of Sublime Text
installed?
• Have you created a project folder to put your files in?
Day 1 Recap
HTML & CSS
Hypertext Markup Language
Cascading Style Sheet
Languages used to create webpages.
Imagine HTML is used to build a raw house and CSS
is used to create the house’s decorations.
HTML & CSS RECAP GAME!
Day 1 Recap
• Most basic HTML elements
Day 1 Recap
• Parts of an HTML element
Day 1 Recap
HTML tags that we have learned
<strong>
<em>
<p>
<img>
<a>
<h1> to <h6>
<ol>
<ul>
<div>
<font> (but do not use this anymore!) use <span> then
add a ‘class’ attribute
Day 1 Recap
Parts of a CSS Rule/Ruleset
Day 1 Recap
CSS properties that we have learned
display
color
background-color
float
font-size
margin (remember: left top right bottom)
padding
WELCOME TO DAY 2!
Some adjustments to our
agenda
Day 1: Introductory HTML/CSS
Day 2: More HTML and CSS practice
Day 3: Intro to Wordpress
Day 4: Building your Wordpress site
Day 5: Continue building your Wordpress site
Agenda for today
• More HTML and CSS on Thimble
• Special characters
• Tables
• Forms
• Styling divs
• Positioning divs
• Using web fonts
• Working offline
• Creating HTML and CSS files
• Creating your website folder
• Pages on your website
Special Characters
http://mozph.me/htmlchar
<table>
<th>: table header (column title)
<tr>: table row
<td>: table data
<th> <th> <th>
<td> <td> <td>
<td> <td> <td>
<tr>
<tr>
<form>
•Input Types
•Text
•Password
•Radio
•Checkbox
Styling <div>
• height
• background-color
• color
• borders
• sides (top, left, bottom, roght)
• border-width
• border-style
• dotted, dashed, solid, double, groove, ridge, inset,
outset
• padding
• margin
Day 2 Recap
•Special characters
•Tables
•Forms
Some adjustments to our
agenda
Day 1: Introductory HTML/CSS
Day 2: More HTML and CSS practice
Day 3: Even more HTML and CSS practice/ Intro to
Wordpress
Day 4: Building your Wordpress site
Day 5: Continue building your Wordpress site
Day 3 Agenda
• Using web fonts
• Working offline
• Creating HTML and CSS files
• Creating your website folder
• Positioning divs
• Pages on your website
• Intro to Wordpress (if time allows)
Using web fonts…
• Go to fonts.google.com!
Positioning <div>
• http://mozph.me/c1t26c
• Position:
• Static
• Relative
• Absolute
• Float
Working offline
1. Create a folder, and name it *your name*’s
Website
2. Create an index.html file.
3. Create a style.css file
4. Create an about.html
5. Create a contact.html
ACTIVITY
• Create your very own multi-page website! You may
use Thimble first then copy paste it to your local files
to save time from viewing it in your browsers every
after updating the file.
ACTIVITY
• Specifications:
• For index.html
• Create a two-column website with header and
footer. One column shall serve as the sidebar and
thus, it should be smaller in width than the other.
HEADER
SIDEBAR CONTENT
FOOTER
• For about.html
• Create a three-column website with header and
footer. Retain the sidebar and two equal columns
one containing a short description of yourself and
your blog, and another containing your educational
background.
HEADER
SIDEBAR ABOUT
EDUCATIONAL
BACKGROUND
FOOTER
ACTIVITY
• For contact.html
• Create a non-functional contact form
Workshop Folder
•http://mozph.me/Le5eHe
Our Agenda So Far
Day 1: Introductory HTML/CSS
Day 2: More HTML and CSS practice
Day 3: Even more HTML and CSS practice
Day 4: Intro to Wordpress/Building your
Wordpress site
Day 5: Continue building your Wordpress site
(Creating more pages)
Day 4 Agenda
• Intro to Wordpress
• Intro to PHP
• Wordpress Syntax
• How to make your HTML site work on Wordpress
Some housekeeping…
• Is XAMPP installed?
• Is Wordpress installed?
Wordpress 101
• Wordpress is an open source blogging and
Web content management system (CMS).
• Wordpress.com – Blogging platform that
focuses on the usage of it. Wordpress
handles all the nitty-gritty setup. You need
to pay to customize it better.
• Wordpress.org – Site where you can
download Wordpress and get support on
using the Wordpress platform in your own
websites. Totally free, but you have to take
care of everything yourself, including your
web host.
Why Wordpress?
• How is it different with Tumblr, Blogger, Livejournal
etc.?
• The Wordpress publishing platform can be
downloaded and used independently for your
website.
• Excellent customization options with plugins.
• Excellent community support.
Let’s learn to transform your
HTML pages to Wordpress
themes!
But first…
Let’s learn the building blocks of
Wordpress— PHP and MySQL!
(don’t worry we’ll just go through the basics for you to understand
what is happening)
PHP
• PHP means PHP: Hypertext Preprocessor (crazy,
IKR, it’s called a recursive abbreviation)
• It is a scripting language (remember HTML being a markup
language?)
• PHP files contain HTML, CSS, JavaScript and PHP code
• It is executed on the server.
Basic PHP Syntax
A PHP script starts with <?php
and ends with ?>
Basic Wordpress Files
• Wordpress themes are composed of a folder of template
files, which controls a specific part of your theme.
Basic Wordpress Files
• header.php - This file will contain the code for the
header section of the theme;
• index.php - This is the main file for the theme. It will
contain the code for the Main Area and will specify
where the other files will be included
• sidebar.php - This file will contain the information
about the sidebar
• footer.php - This file will handle your footer
• style.css - This file will handle the styling of your
new theme
Header.php
• Simply the header.
• This is where you put the opening <html> tag.
Index.php
• The code begins with <?php get_header(); ?> which will
include the header file.
• Next is the loop code to check whether you have posts. If
you have one, it will appear. If none, ‘Sorry, no posts
matched your criteria’ will appear.
• <?php get_sidebar(); ?> will include the sidebar file
• <?php get_footer(); ?> will include the footer file
Sidebar.php
• In our example, we use internal WordPress functions to
display the Categories and Archives of posts. The
WordPress function returns them as list items, therefore we
have wrapped the actual functions in unsorted lists (the <ul>
tags).
Footer.php
• Simply the footer.
• Don’t forget to close the <html> tag here!
Activity
• Create your very own one-page Wordpress site!
You may search for Wordpress tutorials or ask your
mentors if you want to go a little faster on learning
Wordpress.
Activity
1. Run MySQL on XAMPP
2. Go to C:xamppappswordpresshtdocswp-
contentthemes and create your own theme folder
3. Create your theme!
Day 4 Recap
• We learned…
• About Wordpress
• How to make your basic HTML website work with
Wordpress (copy paste powers!)
• For the purposes of this workshop, we didn’t learn
about the essential PHP theories and concepts, we
just have to know how the Wordpress syntax (which
consists of PHP codes) work as to not intimidate you.
• You can just copy and paste the codes! At least for
now. But remember, if you are learning how to
program, it is essential you type codes.
Day 5 Agenda
• Wordpress features
• Posts (draft, private, password protected), pages,
categories, tags, plugins, users, privacy options
• Wordpress resources
• Theme downloads, free plugins
• Web hosting and domains
Wordpress Dashboard
• Posts
• Categories- the ‘table of contents’
• Tags- ‘index of the book’
• Media
• Wordpress’ way of organizing all your media
uploads
Wordpress Dashboard
• Appearance
• Themes- choose/upload a theme
• Customize- use your theme’s customization
features. It varies depending on the theme’s
features
• Widgets- find things you can download! Can be
added to the sidebar, footer etc.
• Menus
• Theme Options- depends on the theme
• Editor
Wordpress Dashboard
• Appearance
• Themes- choose/upload a theme
• Customize- use your theme’s customization
features. It varies depending on the theme’s
features
• Widgets- find things you can download! Can be
added to the sidebar, footer etc.
• Menus
• Theme Options- depends on the theme
• Editor
Wordpress Dashboard
• Plug-ins
• Users
• Super Admin – access to the site network
administration features and all other features.
• Administrator – access to all the administration
features within a single site.
• Editor – publish and manage posts including the
posts of other users.
• Author – publish and manage their own posts.
• Contributor – write and manage their own posts
but cannot publish them.
• Subscriber – only manage their profile.
Wordpress Dashboard
•Tools
•Settings
•You can edit basic Wordpress settings
here including blog name, privacy etc..
Theme and plug-in resources
• You can search at Wordpress.org or any other sites
like fabthemes.com etc. Google is your bestfriend!
• Make sure what you’ll download is a ZIP file. You
can upload it directly to your websites.
• You can just download those free themes and edit it
to your liking.
• You may buy paid themes as well.
Web Hosting
• Paid web hosting fit for a personal/ low-bandwidth
site costs Php 2k- 5k a year
• Domains costs around Php 500 a year
• There are free options but very restricted and not so
reliable.
• Recommended: Hostinger.ph
•http://bit.ly/hostingerph
Further reading/ practice
• Learning HTML and CSS
• http://w3schools.com
• http://codecademy.com
• Learning Wordpress
• http://codex.wordpress.org/Getting_Started_with_W
ordPress
• http://wp-cheatsheet.com/
• http://webdesignerwall.com/tutorials/complete-
wordpress-theme-guide
Learning PHP
• http://www.codecademy.com/tracks/php
webmaker.org

More Related Content

What's hot

Basic word press development
Basic word press developmentBasic word press development
Basic word press developmentDavid Wolfpaw
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSTJ Stalcup
 
Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014Stephanie Eckles
 
Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Thinkful
 
SUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT ProsSUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT ProsPaul Hunt
 
Slides 3 - Wordpress Networks Sites
Slides 3 - Wordpress Networks SitesSlides 3 - Wordpress Networks Sites
Slides 3 - Wordpress Networks SitesMassimo Callisto
 
Code & Design your first website 4/18
Code & Design your first website 4/18Code & Design your first website 4/18
Code & Design your first website 4/18TJ Stalcup
 
Child Themes and CSS in WordPress
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS in WordPressMatthew Vaccaro
 
#SPSLondon - Session 2 JSLink for IT Pros
#SPSLondon - Session 2 JSLink for IT Pros#SPSLondon - Session 2 JSLink for IT Pros
#SPSLondon - Session 2 JSLink for IT ProsPaul Hunt
 
Spsbe using js-linkanddisplaytemplates
Spsbe   using js-linkanddisplaytemplatesSpsbe   using js-linkanddisplaytemplates
Spsbe using js-linkanddisplaytemplatesPaul Hunt
 
Html css crash course may 11th, atlanta
Html css crash course may 11th, atlantaHtml css crash course may 11th, atlanta
Html css crash course may 11th, atlantaThinkful
 
Open Standards in the Walled Garden
Open Standards in the Walled GardenOpen Standards in the Walled Garden
Open Standards in the Walled Gardendigitalbindery
 
Is it time to start using HTML 5
Is it time to start using HTML 5Is it time to start using HTML 5
Is it time to start using HTML 5Ravi Raj
 
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon DublinCreating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon DublinSuzanne Dergacheva
 

What's hot (20)

Basic word press development
Basic word press developmentBasic word press development
Basic word press development
 
Web 101 intro to html
Web 101  intro to htmlWeb 101  intro to html
Web 101 intro to html
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSS
 
Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014
 
Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)
 
Module 3 - Intro to Bootstrap
Module 3 - Intro to BootstrapModule 3 - Intro to Bootstrap
Module 3 - Intro to Bootstrap
 
Down and Dirty EPUB 3
Down and Dirty EPUB 3Down and Dirty EPUB 3
Down and Dirty EPUB 3
 
SUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT ProsSUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT Pros
 
Web Designing Online Training
Web Designing Online TrainingWeb Designing Online Training
Web Designing Online Training
 
Wp 3hr-course
Wp 3hr-courseWp 3hr-course
Wp 3hr-course
 
Html5
Html5Html5
Html5
 
Slides 3 - Wordpress Networks Sites
Slides 3 - Wordpress Networks SitesSlides 3 - Wordpress Networks Sites
Slides 3 - Wordpress Networks Sites
 
Code & Design your first website 4/18
Code & Design your first website 4/18Code & Design your first website 4/18
Code & Design your first website 4/18
 
Child Themes and CSS in WordPress
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS in WordPress
 
#SPSLondon - Session 2 JSLink for IT Pros
#SPSLondon - Session 2 JSLink for IT Pros#SPSLondon - Session 2 JSLink for IT Pros
#SPSLondon - Session 2 JSLink for IT Pros
 
Spsbe using js-linkanddisplaytemplates
Spsbe   using js-linkanddisplaytemplatesSpsbe   using js-linkanddisplaytemplates
Spsbe using js-linkanddisplaytemplates
 
Html css crash course may 11th, atlanta
Html css crash course may 11th, atlantaHtml css crash course may 11th, atlanta
Html css crash course may 11th, atlanta
 
Open Standards in the Walled Garden
Open Standards in the Walled GardenOpen Standards in the Walled Garden
Open Standards in the Walled Garden
 
Is it time to start using HTML 5
Is it time to start using HTML 5Is it time to start using HTML 5
Is it time to start using HTML 5
 
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon DublinCreating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
 

Viewers also liked

How to-create-a-dating-website
How to-create-a-dating-websiteHow to-create-a-dating-website
How to-create-a-dating-websitepilotgroup
 
Web page design in 7 days
Web page design in 7 daysWeb page design in 7 days
Web page design in 7 daysSatish Varma
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookScottperrone
 
A Data Science Tutorial in Python
A Data Science Tutorial in PythonA Data Science Tutorial in Python
A Data Science Tutorial in PythonAjay Ohri
 
Hands-on Deep Learning in Python
Hands-on Deep Learning in PythonHands-on Deep Learning in Python
Hands-on Deep Learning in PythonImry Kissos
 
The Online Dating Scam Project
The Online Dating Scam ProjectThe Online Dating Scam Project
The Online Dating Scam ProjectMason Toups
 

Viewers also liked (10)

Saveasdialog
SaveasdialogSaveasdialog
Saveasdialog
 
How to-create-a-dating-website
How to-create-a-dating-websiteHow to-create-a-dating-website
How to-create-a-dating-website
 
55591
5559155591
55591
 
Success
SuccessSuccess
Success
 
BasicHTML
BasicHTMLBasicHTML
BasicHTML
 
Web page design in 7 days
Web page design in 7 daysWeb page design in 7 days
Web page design in 7 days
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - Ebook
 
A Data Science Tutorial in Python
A Data Science Tutorial in PythonA Data Science Tutorial in Python
A Data Science Tutorial in Python
 
Hands-on Deep Learning in Python
Hands-on Deep Learning in PythonHands-on Deep Learning in Python
Hands-on Deep Learning in Python
 
The Online Dating Scam Project
The Online Dating Scam ProjectThe Online Dating Scam Project
The Online Dating Scam Project
 

Similar to MCC Web Design Workshop

WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Pluginssuperann
 
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojolightshire
 
Wordpress website development
Wordpress website developmentWordpress website development
Wordpress website developmentJohn Faust
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme developmentNaeem Junejo
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress UniversityStephanie Leary
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25New Tricks
 
Wordpress template hierarchy
Wordpress template hierarchyWordpress template hierarchy
Wordpress template hierarchyStockton Group
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress themeDave Wallace
 
WordPress - Open Source Overview Presentation
WordPress - Open Source Overview PresentationWordPress - Open Source Overview Presentation
WordPress - Open Source Overview PresentationAndy Stratton
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With WordpressCharly Leetham
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Mediacurrent
 
Rapid WordPress theme development
Rapid WordPress theme developmentRapid WordPress theme development
Rapid WordPress theme developmentJonny Allbut
 
WordPress can do that?!
WordPress can do that?!WordPress can do that?!
WordPress can do that?!Scott McNulty
 
WordPress Themes Demystified
WordPress Themes DemystifiedWordPress Themes Demystified
WordPress Themes DemystifiedChris Burgess
 
Wordpress intro
Wordpress introWordpress intro
Wordpress introthe-colab
 

Similar to MCC Web Design Workshop (20)

WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
 
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
 
Wordpress website development
Wordpress website developmentWordpress website development
Wordpress website development
 
Design todevelop
Design todevelopDesign todevelop
Design todevelop
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25
 
Wordpress template hierarchy
Wordpress template hierarchyWordpress template hierarchy
Wordpress template hierarchy
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress theme
 
WordPress - Open Source Overview Presentation
WordPress - Open Source Overview PresentationWordPress - Open Source Overview Presentation
WordPress - Open Source Overview Presentation
 
Interactive Web Design 5 - Week 2 - Introduction
Interactive Web Design 5 - Week 2 -  IntroductionInteractive Web Design 5 - Week 2 -  Introduction
Interactive Web Design 5 - Week 2 - Introduction
 
&lt;?php + WordPress
&lt;?php + WordPress&lt;?php + WordPress
&lt;?php + WordPress
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With Wordpress
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
 
Wordpress overview
Wordpress overviewWordpress overview
Wordpress overview
 
Rapid WordPress theme development
Rapid WordPress theme developmentRapid WordPress theme development
Rapid WordPress theme development
 
WordPress can do that?!
WordPress can do that?!WordPress can do that?!
WordPress can do that?!
 
WordPress Themes Demystified
WordPress Themes DemystifiedWordPress Themes Demystified
WordPress Themes Demystified
 
Wordpress intro
Wordpress introWordpress intro
Wordpress intro
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 

MCC Web Design Workshop

  • 1.
  • 2. MCC Web Design Workshop May 3-31, 2014
  • 3. Hi! I’m Faye. • Industrial engineering graduate • Mozilla Rep since 2011 • Web enthusiast • Systems and procedures staff in a car manufacturing company • Education and WoMoz Team #MozillaPH #WoMoz
  • 5. What we will be doing this May Day 1: HTML/CSS Day 2: More HTML and CSS practice Day 3: Intro to Wordpress Day 4: Building your Wordpress site Day 5: Continue building your Wordpress site
  • 6. Some housekeeping… • Do we have Internet connection? • Is Firefox installed?  • Do we have a text editor?
  • 7.
  • 8. Parts of an HTML Element
  • 9. Parts of a CSS Ruleset/Rule
  • 10. Self-study at home • MozillaPH Education Support Group: https://www.facebook.com/groups/teachthewebph/ • Remix things on Webmaker.org! • Try your skills at Codeacademy.com! • Check tutorials at W3Schools.com!
  • 11. Some housekeeping… • Do you have the portable copy of Sublime Text installed? • Have you created a project folder to put your files in?
  • 12. Day 1 Recap HTML & CSS Hypertext Markup Language Cascading Style Sheet Languages used to create webpages. Imagine HTML is used to build a raw house and CSS is used to create the house’s decorations.
  • 13. HTML & CSS RECAP GAME!
  • 14. Day 1 Recap • Most basic HTML elements
  • 15. Day 1 Recap • Parts of an HTML element
  • 16. Day 1 Recap HTML tags that we have learned <strong> <em> <p> <img> <a> <h1> to <h6> <ol> <ul> <div> <font> (but do not use this anymore!) use <span> then add a ‘class’ attribute
  • 17. Day 1 Recap Parts of a CSS Rule/Ruleset
  • 18. Day 1 Recap CSS properties that we have learned display color background-color float font-size margin (remember: left top right bottom) padding
  • 20. Some adjustments to our agenda Day 1: Introductory HTML/CSS Day 2: More HTML and CSS practice Day 3: Intro to Wordpress Day 4: Building your Wordpress site Day 5: Continue building your Wordpress site
  • 21. Agenda for today • More HTML and CSS on Thimble • Special characters • Tables • Forms • Styling divs • Positioning divs • Using web fonts • Working offline • Creating HTML and CSS files • Creating your website folder • Pages on your website
  • 23. <table> <th>: table header (column title) <tr>: table row <td>: table data <th> <th> <th> <td> <td> <td> <td> <td> <td> <tr> <tr>
  • 25. Styling <div> • height • background-color • color • borders • sides (top, left, bottom, roght) • border-width • border-style • dotted, dashed, solid, double, groove, ridge, inset, outset • padding • margin
  • 26. Day 2 Recap •Special characters •Tables •Forms
  • 27. Some adjustments to our agenda Day 1: Introductory HTML/CSS Day 2: More HTML and CSS practice Day 3: Even more HTML and CSS practice/ Intro to Wordpress Day 4: Building your Wordpress site Day 5: Continue building your Wordpress site
  • 28. Day 3 Agenda • Using web fonts • Working offline • Creating HTML and CSS files • Creating your website folder • Positioning divs • Pages on your website • Intro to Wordpress (if time allows)
  • 29. Using web fonts… • Go to fonts.google.com!
  • 30. Positioning <div> • http://mozph.me/c1t26c • Position: • Static • Relative • Absolute • Float
  • 31. Working offline 1. Create a folder, and name it *your name*’s Website 2. Create an index.html file. 3. Create a style.css file 4. Create an about.html 5. Create a contact.html
  • 32. ACTIVITY • Create your very own multi-page website! You may use Thimble first then copy paste it to your local files to save time from viewing it in your browsers every after updating the file.
  • 33. ACTIVITY • Specifications: • For index.html • Create a two-column website with header and footer. One column shall serve as the sidebar and thus, it should be smaller in width than the other. HEADER SIDEBAR CONTENT FOOTER
  • 34. • For about.html • Create a three-column website with header and footer. Retain the sidebar and two equal columns one containing a short description of yourself and your blog, and another containing your educational background. HEADER SIDEBAR ABOUT EDUCATIONAL BACKGROUND FOOTER
  • 35. ACTIVITY • For contact.html • Create a non-functional contact form
  • 37. Our Agenda So Far Day 1: Introductory HTML/CSS Day 2: More HTML and CSS practice Day 3: Even more HTML and CSS practice Day 4: Intro to Wordpress/Building your Wordpress site Day 5: Continue building your Wordpress site (Creating more pages)
  • 38. Day 4 Agenda • Intro to Wordpress • Intro to PHP • Wordpress Syntax • How to make your HTML site work on Wordpress
  • 39. Some housekeeping… • Is XAMPP installed? • Is Wordpress installed?
  • 40. Wordpress 101 • Wordpress is an open source blogging and Web content management system (CMS). • Wordpress.com – Blogging platform that focuses on the usage of it. Wordpress handles all the nitty-gritty setup. You need to pay to customize it better. • Wordpress.org – Site where you can download Wordpress and get support on using the Wordpress platform in your own websites. Totally free, but you have to take care of everything yourself, including your web host.
  • 41. Why Wordpress? • How is it different with Tumblr, Blogger, Livejournal etc.? • The Wordpress publishing platform can be downloaded and used independently for your website. • Excellent customization options with plugins. • Excellent community support.
  • 42. Let’s learn to transform your HTML pages to Wordpress themes!
  • 43. But first… Let’s learn the building blocks of Wordpress— PHP and MySQL! (don’t worry we’ll just go through the basics for you to understand what is happening)
  • 44. PHP • PHP means PHP: Hypertext Preprocessor (crazy, IKR, it’s called a recursive abbreviation) • It is a scripting language (remember HTML being a markup language?) • PHP files contain HTML, CSS, JavaScript and PHP code • It is executed on the server.
  • 45. Basic PHP Syntax A PHP script starts with <?php and ends with ?>
  • 46. Basic Wordpress Files • Wordpress themes are composed of a folder of template files, which controls a specific part of your theme.
  • 47. Basic Wordpress Files • header.php - This file will contain the code for the header section of the theme; • index.php - This is the main file for the theme. It will contain the code for the Main Area and will specify where the other files will be included • sidebar.php - This file will contain the information about the sidebar • footer.php - This file will handle your footer • style.css - This file will handle the styling of your new theme
  • 48. Header.php • Simply the header. • This is where you put the opening <html> tag.
  • 49. Index.php • The code begins with <?php get_header(); ?> which will include the header file. • Next is the loop code to check whether you have posts. If you have one, it will appear. If none, ‘Sorry, no posts matched your criteria’ will appear. • <?php get_sidebar(); ?> will include the sidebar file • <?php get_footer(); ?> will include the footer file
  • 50. Sidebar.php • In our example, we use internal WordPress functions to display the Categories and Archives of posts. The WordPress function returns them as list items, therefore we have wrapped the actual functions in unsorted lists (the <ul> tags).
  • 51. Footer.php • Simply the footer. • Don’t forget to close the <html> tag here!
  • 52. Activity • Create your very own one-page Wordpress site! You may search for Wordpress tutorials or ask your mentors if you want to go a little faster on learning Wordpress.
  • 53. Activity 1. Run MySQL on XAMPP 2. Go to C:xamppappswordpresshtdocswp- contentthemes and create your own theme folder 3. Create your theme!
  • 54. Day 4 Recap • We learned… • About Wordpress • How to make your basic HTML website work with Wordpress (copy paste powers!) • For the purposes of this workshop, we didn’t learn about the essential PHP theories and concepts, we just have to know how the Wordpress syntax (which consists of PHP codes) work as to not intimidate you. • You can just copy and paste the codes! At least for now. But remember, if you are learning how to program, it is essential you type codes.
  • 55. Day 5 Agenda • Wordpress features • Posts (draft, private, password protected), pages, categories, tags, plugins, users, privacy options • Wordpress resources • Theme downloads, free plugins • Web hosting and domains
  • 56. Wordpress Dashboard • Posts • Categories- the ‘table of contents’ • Tags- ‘index of the book’ • Media • Wordpress’ way of organizing all your media uploads
  • 57. Wordpress Dashboard • Appearance • Themes- choose/upload a theme • Customize- use your theme’s customization features. It varies depending on the theme’s features • Widgets- find things you can download! Can be added to the sidebar, footer etc. • Menus • Theme Options- depends on the theme • Editor
  • 58. Wordpress Dashboard • Appearance • Themes- choose/upload a theme • Customize- use your theme’s customization features. It varies depending on the theme’s features • Widgets- find things you can download! Can be added to the sidebar, footer etc. • Menus • Theme Options- depends on the theme • Editor
  • 59. Wordpress Dashboard • Plug-ins • Users • Super Admin – access to the site network administration features and all other features. • Administrator – access to all the administration features within a single site. • Editor – publish and manage posts including the posts of other users. • Author – publish and manage their own posts. • Contributor – write and manage their own posts but cannot publish them. • Subscriber – only manage their profile.
  • 60. Wordpress Dashboard •Tools •Settings •You can edit basic Wordpress settings here including blog name, privacy etc..
  • 61. Theme and plug-in resources • You can search at Wordpress.org or any other sites like fabthemes.com etc. Google is your bestfriend! • Make sure what you’ll download is a ZIP file. You can upload it directly to your websites. • You can just download those free themes and edit it to your liking. • You may buy paid themes as well.
  • 62. Web Hosting • Paid web hosting fit for a personal/ low-bandwidth site costs Php 2k- 5k a year • Domains costs around Php 500 a year • There are free options but very restricted and not so reliable. • Recommended: Hostinger.ph
  • 64. Further reading/ practice • Learning HTML and CSS • http://w3schools.com • http://codecademy.com • Learning Wordpress • http://codex.wordpress.org/Getting_Started_with_W ordPress • http://wp-cheatsheet.com/ • http://webdesignerwall.com/tutorials/complete- wordpress-theme-guide Learning PHP • http://www.codecademy.com/tracks/php

Editor's Notes

  1. https://thimble.webmaker.org/en-US/project/52912/edit
  2. Make sure to cover PHP loops