SlideShare a Scribd company logo
View HTML5 + CSS3 + JavaScript course details at
http://www.edureka.co/front-end-web-development
For Queries during the session and class recording:
Post on Twitter @edurekaIN: #askEdureka
Post on Facebook /edurekaIN
For more details please contact us:
US : 1800 275 9730 (toll free)
INDIA : +91 88808 62004
Email Us : sales@edureka.co
web development
With
HTML5, CSS3 and JavaScript
www.edureka.co/front-end-web-development
Slide 2
www.edureka.co/front-end-web-development
www.edureka.co/front-end-web-development
Objectives
At the end of this module, you will be able to:
 Importance of Web Development
 Web Designer Vs. Web Developer
 Front-end and Back-end Web Development
 HTML, CSS and JavaScript - An Overview
 JavaScript Frameworks - jQuery and AngularJS
 Advanced Web Development Topics
Slide 3 www.edureka.co/front-end-web-development
Importance of Web Development
 The Internet is ubiquitous
• Accessible through mobile and desktop
• Customers/users need to find you/your business
• Builds trust in your organization and improves your reputation
• Your website is your first round-the-clock sales person!
 The Website
• Creates first impression of your business
• Create it to suit the needs of your target audience
• Reflects your expertise and reputation
• Can bring business from any part of the world!
• Call to Action – Encourage the users to give you business
 You need Web Development skills to create a Website!
Slide 4 www.edureka.co/front-end-web-development
Web Designer Vs. Web Developer
 A Web Designer
• Designs the look and feel of a website (creative side of website)
• Decides the layout, fonts, color, images and overall branding
• Creates the visual mock-up of the website
• Rarely does the development of a website!
• A Right-brained (Creative) Person
 A Web Developer
• Brings the website mock-up to life on the Internet (development side of website)
• Develops the website and hosts on a web server
• Has Web Development Skills: HTML, CSS, JavaScript, PHP, Perl, Python, Java, Ruby
• A Left-brained (Logical) Person
 Gain Web Development skills to become a Web Developer!
Slide 5 www.edureka.co/front-end-web-development
Web Developer Vs. Web Designer
Courtesy: www.smashingmagazine.com
Slide 6 www.edureka.co/front-end-web-development
Front End and Back End Web Development
 Front End Web Development
• Defined components on the page with HTML
• Make them look pleasing with CSS
• Enable interactivity with JavaScript
• Enhance productivity with use of frameworks
 Back End Web Development
• Create the page components and content dynamically on the web server
• Send the HTML + CSS + JavaScript to web browser (used by a human user)
• Generate pages by programming in Java, JavaScript, PHP, Perl, Python, Ruby
• Aim to achieve fast response times to end users
 Front End Web Development is the focus of this webinar!
Slide 7 www.edureka.co/front-end-web-development
HTML, CSS, and JavaScript – An Overview
 HTML
• Hypertext Markup Language
• Structure of Page
 JavaScript
• Interactivity with User
• Dynamic Updates in a Web Page
 CSS
• Cascading Style Sheets
• Presentation/Styling
Slide 8 www.edureka.co/front-end-web-development
Hypertext - Origins
 HyperText
• Text with references (hyperlinks) to other text
 “Hyper” - meaning
• Greek Origin: “over”, “beyond”
 First Idea
• Vannevar Bush, USA, in 1945
Slide 9 www.edureka.co/front-end-web-development
A Simple HTML5 Page
 Save the following code in a test.html file
<!DOCTYPE html>
<html>
<head>
<title>This is a Edureka Course</title>
</head>
<body>
<p>Welcome to HTML5, CSS3 and JavaScript!</p>
</body>
</html>
Slide 10 www.edureka.co/front-end-web-development
Hosting a Web Site
 A Web Site
• Serves one or more HTML Pages
Default Page: index.html, index.php
 Served / Hosted by a Web Server
• HTTP Web Server
httpd, apache2, Ngnix, inetmgr.exe - Internet Information Server (Microsoft’s)
• Web Application Server
Apache Tomcat (Open Source), IBM WebSphere (Licensed)
 Technologies
• HTML, HTTP, TCP/IP Protocols
• Operating Systems: Linux, Windows, MacOS
Slide 11 www.edureka.co/front-end-web-development
HTML Page
 HTML (Web) Page / Document
• User Interface for the Web (site or application)
• A plain text file – human readable
• Transported on HTTP - HyperText Transfer Protocol
 Page Types
• Static – ready-made pages with fixed page content
File Extension: .html, .htm
• Dynamic – generated on the fly with varying page content
Generated on the Web Server
Interspersed with JavaScript, PHP, JSP, ASP
File Extensions: .js, .php, .jsp, .asp, .aspx
Slide 12 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
CSS - Introduction
 Cascading Style Sheet
• Describes the look and formatting of a page
• Used for Changing Presentation and Styling
• Can apply to a mark-up language
 HTML, XHTML, XML, SVG
 Separates Content from Presentation
 Properties (Attributes) Styled
• Layout, Font (Typography), Color, Background
• Box Properties: Border, Margin, Padding
• Lists, Tables
Slide 13 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
CSS Syntax (Contd./-)
 Style Selector
• The HTML elements to which the Style rule should be applied
• It is a match expression
• Specified as:
 Element’s tag name
 h1, p, label - case insensitive
 Value of Element’s attribute
 id, class - Case Sensitive
 Element’s placement in the Document tree
 Child element is nested within Parent
 A Sibling element is at the same nesting level
Slide 14 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
CSS Syntax (Contd./-)
 CSS Declaration Block
• List of Declarations
• Enclosed in curly braces { . . . }
• Declaration
 property : value(s) ;
• property and value(s) are pre-defined
• Property name is unique
• Property value – Specified in multiple formats
 keywords (words) or mnemonics (in combination with some symbols like: #, /)
 numerical, hexadecimal, or a combination
 some values may have units of measure
Slide 15 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
New CSS3 Selectors
 New CSS3 Structural Pseudo-Class Selectors
• E:first-of-type – Selects the first element of type E for its parent
li:first-of-type { color: red; }
• E:last-of-type - Selects the last element of type E for its parent
li:last-of-type { color: yellow; }
• E:only-child - Selects if E is only the child of its parent
li:only-child { color: blue; }
• E:nth-child(n) - Selects nth child of the element E
li:nth-child(3) { color: yellow; }
• E:nth-last-child(n) - Selects nth last child of the element E
li:nth-last-child(2) { color: red; }
Slide 16 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
CSS3 – 2D Transforms
 Transformation
• Change of position, shape and size of an element
 CSS3 Transforms
• 2-D: Two Dimensions
• 3-D: Three Dimensions (not covered in this course)
 Transform Operations
• move, scale, spin, stretch and turn elements
Slide 17 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
CSS3 – 2D Transforms (Contd./-)
 Specified with transform attribute
• Translation – Movement along X-axis and Y-axis
transform: translate( 50px, 100px );
• Rotation – in clock-wise direction
transform: rotate( 5deg );
• Scaling – increase/decrease size along width and height
transform: scale( 2, 2 );
• Skewing – tilting (turning) in X-axis and Y-axis directions
transform: skew( 10deg, 5deg);
Slide 18 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
CSS3 Transitions
 Changing from one style to another (on an event)
 CSS property on which the transition effect has to take place
 Time Duration over which transition has to take place (smoothly)
 Specified in seconds (s) or milliseconds (ms)
p { width: 100px; }
p:hover { width: 200px; transition: width 2s; }
 Transition starts on events
 Events: hover, active, checked, focus, enabled, disabled
 @media queries, and JavaScript
 Specify multiple transitions sets with a comma
p { width: 200px; height: 100px; }
p:hover {
width: 400px; height: 200px;
transition: width 2s, height 5s; }
Slide 19 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
JavaScript – An Introduction
 Mocha, later renamed as LiveScript - Developed by Netscape
 Based on ECMAScript 5.1 (Ver. 6.0 is finalized in mid 2015)
 LiveScript  JavaScript (due to Java popularity)
 Scripting Language for Web Browsers
• Dynamically Typed
• Interpreted by JavaScript Engine
 Can not Do (for Security Reasons)
• Unlimited reading/writing of files from client machine’s file system
• Writing to the files on the Server
• Can not close a window that was not opened by it
• Can not read from a web page served by another web server
 Microsoft’s version - JScript
Slide 20 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
Document Object Model (DOM) (Contd./-)
 Structure and Style of a Page, Access / Update Content
 DOM + JavaScript = Dynamic HTML (on client-side)
 What JavaScript can do with DOM?
 Change an HTML Element
 Change an attribute of an HTML Element
 Change the CSS style of an HTML Element
 Remove an existing HTML element or its attributes
 Add new a HTML Element or a new attribute to an Element
 React to an event associated with an HTML Element
 Create a new event listener and associate with an HTML Element
Slide 21 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
HTML DOM Methods
 DOM Methods – Finding HTML Elements
• getElementById() Method
 Gets the HTML Element with specified ID
• getElementsByClassName() Method
 Gets the HTML Elements with specified class name
document.getElementsByClassName("middlePara")[0].innerHTML = "Welcome
to Edureka!";
document.getElementsByClassName("middlePara")[1].innerHTML = "This is
HTML5, CSS3 and JavaScript Course!";
• getElementsByTagName() method
 Gets the HTML Elements with specified element tag
document.getElementsByTagName("p")[0].innerHTML = "Welcome to
Edureka!";
document.getElementsByTagName("p")[1].innerHTML = "This is HTML5,
CSS3 and JavaScript Course!";
Slide 22 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
jQuery - Introduction
 jQuery Core – a Cross-Platform JavaScript Library
• Simplifies client-side JavaScript scripting for a web page
• It is FREE and Open Source
• Used by about 6,000 most visited websites
• It uses the familiar HTML DOM model
 Latest Versions
• Version 1.11.3 - has support for IE 6/7/8
• Version 2.1.4 - has NO support for IE 6/7/8
• Development Version
 For use during development of the website
• Minified Version
 For use in production (live / online) use of website
Slide 23 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
jQuery - Introduction
 Why use jQuery?
• JavaScript Framework
• Separates HTML and JavaScript in a web page
• Eliminates cross-browser incompatibilities
• Simple/Short, Clean and Easy to read, write and understand
 What jQuery can do?
• Can Select Elements
 Has Selectors are similar to CSS Selectors
• Can Manipulate the Selected Elements
• Can Modify the Style of the Selected Elements
• Supports Events, Effects and Animations
• Supports JSON Parsing and Ajax (Asynchronous JavaScript + XML)
Slide 24 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
jQuery Basics
 Download the latest version
• From jquery.com website
 Reference it in HTML file
• Host it on your Web Server and Use it with <script> tag
<script src="jquery-2.1.3.js"></script>
• Point to a Public Web Server and Use it with <script> tag
 Google CDN Server (recommended) CDN – Content Delivery Network
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">
</script>
 Microsoft CDN Server
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.2.min.js">
</script>
 MaxCDN CDN Server (moved from MediaTemple, before that Amazon)
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
• Do not put the jQuery code in the <script> tag that loads jQuery library
Slide 25 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
AngularJS - Introduction
 Developed by Google
 Based on MVC Pattern – on Front-End (Browser) side
• Model – Sourcing and Managing Data
• Controller – Application Logic – Decides what/when to display
• View – Presentation of Data – How (Where) to display the data
 In AngularJS
• Model
 Represents current state of the application
 Stored in Object Properties
• View
 Displays the data in the Page’s DOM
• Controller
 Manages the relationship between the Model and the View (JavaScript Code)
• Data Binding Concept
 Map parts of UI to a JavaScript Object’s properties
 Sync between them happens automatically
Slide 26 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd.
Advanced Web Programming Topics
 HTML Canvas, WebGL, SVG
 HTML5 Geolocation API
 HTML5 Drag and Drop API
 HTML5 Web Storage API
 HTML5 Web Workers
 HTML5 Server-sent Events
Slide 27 www.edureka.co/front-end-web-development
Job trends for Full Stack Web Developer
Slide 28 www.edureka.co/front-end-web-development
 Module 6
» CSS3
 Module 7
» Java Script- Part 1
 Module 8
» Java Script- Part 2
 Module 9
» jQuery and AngularJS
 Module 10
» Advanced Web Programming
 Module 1
» HTML Part-1
 Module 2
» HTML Part-2
 Module 3
» CSS
 Module 4
» HTML5
 Module 5
» HTML5 Forms, Audio and Video
Front End Web Development - Course Topics
Slide 29 www.edureka.co/front-end-web-development
Disclaimer
Criteria and guidelines mentioned in this presentation may change. Please visit our website for latest
and additional information on Front End Web Development course.
Questions
Slide 30 www.edureka.co/front-end-web-development
Web Development with HTML5, CSS3 & JavaScript

More Related Content

PPTX
Introduction to Web Development
PPTX
Front-end development introduction (HTML, CSS). Part 1
PPT
Web development | Derin Dolen
PPTX
Front End Development | Introduction
PDF
Introduction to web development
PPTX
Front-End Web Development
PPTX
Web Development
PPTX
ppt of web development for diploma student
Introduction to Web Development
Front-end development introduction (HTML, CSS). Part 1
Web development | Derin Dolen
Front End Development | Introduction
Introduction to web development
Front-End Web Development
Web Development
ppt of web development for diploma student

What's hot (20)

PPT
Web Development using HTML & CSS
PPTX
Web Development
PDF
Web Development Presentation
PPTX
Bootstrap ppt
PPTX
Front end web development
PDF
WEB I - 01 - Introduction to Web Development
PDF
Bootstrap
PPTX
Web development
PPT
Css Ppt
PPT
Ppt of web development
KEY
HTML presentation for beginners
PPT
CSS Basics
PDF
Intro to HTML, CSS & JS - Internship Presentation Week-3
PPT
Js ppt
PPTX
css.ppt
PPTX
Html ppt
PDF
Bootstrap 5 basic
PPTX
Complete Lecture on Css presentation
PPTX
Html, CSS & Web Designing
PDF
jQuery for beginners
Web Development using HTML & CSS
Web Development
Web Development Presentation
Bootstrap ppt
Front end web development
WEB I - 01 - Introduction to Web Development
Bootstrap
Web development
Css Ppt
Ppt of web development
HTML presentation for beginners
CSS Basics
Intro to HTML, CSS & JS - Internship Presentation Week-3
Js ppt
css.ppt
Html ppt
Bootstrap 5 basic
Complete Lecture on Css presentation
Html, CSS & Web Designing
jQuery for beginners
Ad

Viewers also liked (20)

PPTX
HTML5 & CSS3
PDF
The Role Of Java Script
PDF
Javascript, HTML5 e CSS3
PPTX
Presentation about html5 css3
PDF
CSS3: A practical introduction (FT2010 talk)
PDF
Curso de Desenvolvimento Web - Módulo 02 - CSS
PDF
Curso de Desenvolvimento Web - Módulo 01 - HTML
PDF
Programação Web com HTML e CSS
PDF
Introdução a HTML, CSS, JS, Ajax
PPSX
Introduction to Html5
PPT
JavaScript - An Introduction
PPTX
html5.ppt
PPT
Html Ppt
PDF
Javascript & SQL within database management system
PPTX
Parceiro Programador
PDF
HTML e CSS
PDF
Css cascading style sheet
PDF
ebook Solidário Fluência de HTML & CSS
PPTX
Meaning of Six Sigma : The Industry Independent Methodology
PPTX
About Best friends - HTML, CSS and JS
HTML5 & CSS3
The Role Of Java Script
Javascript, HTML5 e CSS3
Presentation about html5 css3
CSS3: A practical introduction (FT2010 talk)
Curso de Desenvolvimento Web - Módulo 02 - CSS
Curso de Desenvolvimento Web - Módulo 01 - HTML
Programação Web com HTML e CSS
Introdução a HTML, CSS, JS, Ajax
Introduction to Html5
JavaScript - An Introduction
html5.ppt
Html Ppt
Javascript & SQL within database management system
Parceiro Programador
HTML e CSS
Css cascading style sheet
ebook Solidário Fluência de HTML & CSS
Meaning of Six Sigma : The Industry Independent Methodology
About Best friends - HTML, CSS and JS
Ad

Similar to Web Development with HTML5, CSS3 & JavaScript (20)

PPTX
webdevelopment_6132030-lva1-app6891.pptx
PDF
A Work Day Of A Web Developer
PPTX
Introduction to HTML language Web design.pptx
PPTX
Introduction to HTML .pptx
PDF
web development
PPTX
25444215.pptx
PPTX
WEB DEVELOPMENT.pptx
PPTX
web development
PPTX
025444215.pptx
PPTX
Web Desing.pptx
PDF
Webinar: Front End Web Development - Trendy Web Designs Using HTML5
PDF
Web development ppt
PPTX
UI Web Development.pptx
PDF
Top 10 Front End Developer Skills | How to become a Front End Developer? Edureka
PPTX
Basics of Web Development.pptx
PPTX
Curtin University Frontend Web Development
PPTX
Fornt End Web Development domu 12345.pptx
PPTX
Web-Development Powerpoint Presentation.
PPTX
webdevelopmentppt-210923044639 (1) (1).pptx
PPTX
webdevelopmentppt-2210923044639 (1).pptx
webdevelopment_6132030-lva1-app6891.pptx
A Work Day Of A Web Developer
Introduction to HTML language Web design.pptx
Introduction to HTML .pptx
web development
25444215.pptx
WEB DEVELOPMENT.pptx
web development
025444215.pptx
Web Desing.pptx
Webinar: Front End Web Development - Trendy Web Designs Using HTML5
Web development ppt
UI Web Development.pptx
Top 10 Front End Developer Skills | How to become a Front End Developer? Edureka
Basics of Web Development.pptx
Curtin University Frontend Web Development
Fornt End Web Development domu 12345.pptx
Web-Development Powerpoint Presentation.
webdevelopmentppt-210923044639 (1) (1).pptx
webdevelopmentppt-2210923044639 (1).pptx

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PDF
Approach and Philosophy of On baking technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Cloud computing and distributed systems.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
cuic standard and advanced reporting.pdf
KodekX | Application Modernization Development
Approach and Philosophy of On baking technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Network Security Unit 5.pdf for BCA BBA.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Cloud computing and distributed systems.
The AUB Centre for AI in Media Proposal.docx
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Weekly Chronicles - August'25 Week I
Spectral efficient network and resource selection model in 5G networks
MYSQL Presentation for SQL database connectivity
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Chapter 3 Spatial Domain Image Processing.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
cuic standard and advanced reporting.pdf

Web Development with HTML5, CSS3 & JavaScript

  • 1. View HTML5 + CSS3 + JavaScript course details at http://www.edureka.co/front-end-web-development For Queries during the session and class recording: Post on Twitter @edurekaIN: #askEdureka Post on Facebook /edurekaIN For more details please contact us: US : 1800 275 9730 (toll free) INDIA : +91 88808 62004 Email Us : sales@edureka.co web development With HTML5, CSS3 and JavaScript www.edureka.co/front-end-web-development
  • 2. Slide 2 www.edureka.co/front-end-web-development www.edureka.co/front-end-web-development Objectives At the end of this module, you will be able to:  Importance of Web Development  Web Designer Vs. Web Developer  Front-end and Back-end Web Development  HTML, CSS and JavaScript - An Overview  JavaScript Frameworks - jQuery and AngularJS  Advanced Web Development Topics
  • 3. Slide 3 www.edureka.co/front-end-web-development Importance of Web Development  The Internet is ubiquitous • Accessible through mobile and desktop • Customers/users need to find you/your business • Builds trust in your organization and improves your reputation • Your website is your first round-the-clock sales person!  The Website • Creates first impression of your business • Create it to suit the needs of your target audience • Reflects your expertise and reputation • Can bring business from any part of the world! • Call to Action – Encourage the users to give you business  You need Web Development skills to create a Website!
  • 4. Slide 4 www.edureka.co/front-end-web-development Web Designer Vs. Web Developer  A Web Designer • Designs the look and feel of a website (creative side of website) • Decides the layout, fonts, color, images and overall branding • Creates the visual mock-up of the website • Rarely does the development of a website! • A Right-brained (Creative) Person  A Web Developer • Brings the website mock-up to life on the Internet (development side of website) • Develops the website and hosts on a web server • Has Web Development Skills: HTML, CSS, JavaScript, PHP, Perl, Python, Java, Ruby • A Left-brained (Logical) Person  Gain Web Development skills to become a Web Developer!
  • 5. Slide 5 www.edureka.co/front-end-web-development Web Developer Vs. Web Designer Courtesy: www.smashingmagazine.com
  • 6. Slide 6 www.edureka.co/front-end-web-development Front End and Back End Web Development  Front End Web Development • Defined components on the page with HTML • Make them look pleasing with CSS • Enable interactivity with JavaScript • Enhance productivity with use of frameworks  Back End Web Development • Create the page components and content dynamically on the web server • Send the HTML + CSS + JavaScript to web browser (used by a human user) • Generate pages by programming in Java, JavaScript, PHP, Perl, Python, Ruby • Aim to achieve fast response times to end users  Front End Web Development is the focus of this webinar!
  • 7. Slide 7 www.edureka.co/front-end-web-development HTML, CSS, and JavaScript – An Overview  HTML • Hypertext Markup Language • Structure of Page  JavaScript • Interactivity with User • Dynamic Updates in a Web Page  CSS • Cascading Style Sheets • Presentation/Styling
  • 8. Slide 8 www.edureka.co/front-end-web-development Hypertext - Origins  HyperText • Text with references (hyperlinks) to other text  “Hyper” - meaning • Greek Origin: “over”, “beyond”  First Idea • Vannevar Bush, USA, in 1945
  • 9. Slide 9 www.edureka.co/front-end-web-development A Simple HTML5 Page  Save the following code in a test.html file <!DOCTYPE html> <html> <head> <title>This is a Edureka Course</title> </head> <body> <p>Welcome to HTML5, CSS3 and JavaScript!</p> </body> </html>
  • 10. Slide 10 www.edureka.co/front-end-web-development Hosting a Web Site  A Web Site • Serves one or more HTML Pages Default Page: index.html, index.php  Served / Hosted by a Web Server • HTTP Web Server httpd, apache2, Ngnix, inetmgr.exe - Internet Information Server (Microsoft’s) • Web Application Server Apache Tomcat (Open Source), IBM WebSphere (Licensed)  Technologies • HTML, HTTP, TCP/IP Protocols • Operating Systems: Linux, Windows, MacOS
  • 11. Slide 11 www.edureka.co/front-end-web-development HTML Page  HTML (Web) Page / Document • User Interface for the Web (site or application) • A plain text file – human readable • Transported on HTTP - HyperText Transfer Protocol  Page Types • Static – ready-made pages with fixed page content File Extension: .html, .htm • Dynamic – generated on the fly with varying page content Generated on the Web Server Interspersed with JavaScript, PHP, JSP, ASP File Extensions: .js, .php, .jsp, .asp, .aspx
  • 12. Slide 12 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. CSS - Introduction  Cascading Style Sheet • Describes the look and formatting of a page • Used for Changing Presentation and Styling • Can apply to a mark-up language  HTML, XHTML, XML, SVG  Separates Content from Presentation  Properties (Attributes) Styled • Layout, Font (Typography), Color, Background • Box Properties: Border, Margin, Padding • Lists, Tables
  • 13. Slide 13 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. CSS Syntax (Contd./-)  Style Selector • The HTML elements to which the Style rule should be applied • It is a match expression • Specified as:  Element’s tag name  h1, p, label - case insensitive  Value of Element’s attribute  id, class - Case Sensitive  Element’s placement in the Document tree  Child element is nested within Parent  A Sibling element is at the same nesting level
  • 14. Slide 14 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. CSS Syntax (Contd./-)  CSS Declaration Block • List of Declarations • Enclosed in curly braces { . . . } • Declaration  property : value(s) ; • property and value(s) are pre-defined • Property name is unique • Property value – Specified in multiple formats  keywords (words) or mnemonics (in combination with some symbols like: #, /)  numerical, hexadecimal, or a combination  some values may have units of measure
  • 15. Slide 15 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. New CSS3 Selectors  New CSS3 Structural Pseudo-Class Selectors • E:first-of-type – Selects the first element of type E for its parent li:first-of-type { color: red; } • E:last-of-type - Selects the last element of type E for its parent li:last-of-type { color: yellow; } • E:only-child - Selects if E is only the child of its parent li:only-child { color: blue; } • E:nth-child(n) - Selects nth child of the element E li:nth-child(3) { color: yellow; } • E:nth-last-child(n) - Selects nth last child of the element E li:nth-last-child(2) { color: red; }
  • 16. Slide 16 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. CSS3 – 2D Transforms  Transformation • Change of position, shape and size of an element  CSS3 Transforms • 2-D: Two Dimensions • 3-D: Three Dimensions (not covered in this course)  Transform Operations • move, scale, spin, stretch and turn elements
  • 17. Slide 17 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. CSS3 – 2D Transforms (Contd./-)  Specified with transform attribute • Translation – Movement along X-axis and Y-axis transform: translate( 50px, 100px ); • Rotation – in clock-wise direction transform: rotate( 5deg ); • Scaling – increase/decrease size along width and height transform: scale( 2, 2 ); • Skewing – tilting (turning) in X-axis and Y-axis directions transform: skew( 10deg, 5deg);
  • 18. Slide 18 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. CSS3 Transitions  Changing from one style to another (on an event)  CSS property on which the transition effect has to take place  Time Duration over which transition has to take place (smoothly)  Specified in seconds (s) or milliseconds (ms) p { width: 100px; } p:hover { width: 200px; transition: width 2s; }  Transition starts on events  Events: hover, active, checked, focus, enabled, disabled  @media queries, and JavaScript  Specify multiple transitions sets with a comma p { width: 200px; height: 100px; } p:hover { width: 400px; height: 200px; transition: width 2s, height 5s; }
  • 19. Slide 19 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. JavaScript – An Introduction  Mocha, later renamed as LiveScript - Developed by Netscape  Based on ECMAScript 5.1 (Ver. 6.0 is finalized in mid 2015)  LiveScript  JavaScript (due to Java popularity)  Scripting Language for Web Browsers • Dynamically Typed • Interpreted by JavaScript Engine  Can not Do (for Security Reasons) • Unlimited reading/writing of files from client machine’s file system • Writing to the files on the Server • Can not close a window that was not opened by it • Can not read from a web page served by another web server  Microsoft’s version - JScript
  • 20. Slide 20 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. Document Object Model (DOM) (Contd./-)  Structure and Style of a Page, Access / Update Content  DOM + JavaScript = Dynamic HTML (on client-side)  What JavaScript can do with DOM?  Change an HTML Element  Change an attribute of an HTML Element  Change the CSS style of an HTML Element  Remove an existing HTML element or its attributes  Add new a HTML Element or a new attribute to an Element  React to an event associated with an HTML Element  Create a new event listener and associate with an HTML Element
  • 21. Slide 21 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. HTML DOM Methods  DOM Methods – Finding HTML Elements • getElementById() Method  Gets the HTML Element with specified ID • getElementsByClassName() Method  Gets the HTML Elements with specified class name document.getElementsByClassName("middlePara")[0].innerHTML = "Welcome to Edureka!"; document.getElementsByClassName("middlePara")[1].innerHTML = "This is HTML5, CSS3 and JavaScript Course!"; • getElementsByTagName() method  Gets the HTML Elements with specified element tag document.getElementsByTagName("p")[0].innerHTML = "Welcome to Edureka!"; document.getElementsByTagName("p")[1].innerHTML = "This is HTML5, CSS3 and JavaScript Course!";
  • 22. Slide 22 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. jQuery - Introduction  jQuery Core – a Cross-Platform JavaScript Library • Simplifies client-side JavaScript scripting for a web page • It is FREE and Open Source • Used by about 6,000 most visited websites • It uses the familiar HTML DOM model  Latest Versions • Version 1.11.3 - has support for IE 6/7/8 • Version 2.1.4 - has NO support for IE 6/7/8 • Development Version  For use during development of the website • Minified Version  For use in production (live / online) use of website
  • 23. Slide 23 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. jQuery - Introduction  Why use jQuery? • JavaScript Framework • Separates HTML and JavaScript in a web page • Eliminates cross-browser incompatibilities • Simple/Short, Clean and Easy to read, write and understand  What jQuery can do? • Can Select Elements  Has Selectors are similar to CSS Selectors • Can Manipulate the Selected Elements • Can Modify the Style of the Selected Elements • Supports Events, Effects and Animations • Supports JSON Parsing and Ajax (Asynchronous JavaScript + XML)
  • 24. Slide 24 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. jQuery Basics  Download the latest version • From jquery.com website  Reference it in HTML file • Host it on your Web Server and Use it with <script> tag <script src="jquery-2.1.3.js"></script> • Point to a Public Web Server and Use it with <script> tag  Google CDN Server (recommended) CDN – Content Delivery Network <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"> </script>  Microsoft CDN Server <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.2.min.js"> </script>  MaxCDN CDN Server (moved from MediaTemple, before that Amazon) <script src="http://code.jquery.com/jquery-2.1.3.min.js"></script> • Do not put the jQuery code in the <script> tag that loads jQuery library
  • 25. Slide 25 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. AngularJS - Introduction  Developed by Google  Based on MVC Pattern – on Front-End (Browser) side • Model – Sourcing and Managing Data • Controller – Application Logic – Decides what/when to display • View – Presentation of Data – How (Where) to display the data  In AngularJS • Model  Represents current state of the application  Stored in Object Properties • View  Displays the data in the Page’s DOM • Controller  Manages the relationship between the Model and the View (JavaScript Code) • Data Binding Concept  Map parts of UI to a JavaScript Object’s properties  Sync between them happens automatically
  • 26. Slide 26 www.edureka.co/front-end-web-development© Copyright 2015 – Abheri Technologies Pvt. Ltd. Advanced Web Programming Topics  HTML Canvas, WebGL, SVG  HTML5 Geolocation API  HTML5 Drag and Drop API  HTML5 Web Storage API  HTML5 Web Workers  HTML5 Server-sent Events
  • 27. Slide 27 www.edureka.co/front-end-web-development Job trends for Full Stack Web Developer
  • 28. Slide 28 www.edureka.co/front-end-web-development  Module 6 » CSS3  Module 7 » Java Script- Part 1  Module 8 » Java Script- Part 2  Module 9 » jQuery and AngularJS  Module 10 » Advanced Web Programming  Module 1 » HTML Part-1  Module 2 » HTML Part-2  Module 3 » CSS  Module 4 » HTML5  Module 5 » HTML5 Forms, Audio and Video Front End Web Development - Course Topics
  • 29. Slide 29 www.edureka.co/front-end-web-development Disclaimer Criteria and guidelines mentioned in this presentation may change. Please visit our website for latest and additional information on Front End Web Development course.