SlideShare a Scribd company logo
Web Development
Outline
• Review HTML/CSS concepts
• Using a Bootstrap installation
• DOM Manipulation with JavaScript
• Quiz Exercise
• Filtering and Visualizing Data
HTML
Layout elements
<div>
<span>
Forms
<form id="myform">
<input type="text" id="firstname" />
<select id="car">
<option value="ford">Ford</option>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
</select>
</form>
CSS
• Cascading Stylesheets provide a way to style elements across a site
• It is used for establishing layout, color, font-sizes and more
• Can be used in an external stylesheet, linked in each html page
<link rel="stylesheet" href="css/style.css" type=”text/css" >
• in the head of a document
<style>
p {
font-family: Helvetica;
font-size: 14px;
}
</style>
• Inline
<p style= ”font-famly: Helvetica”>
HTML
• Attributes
Provide options within elements (href, src, bgcolor, text…)
<a href= "http://google.com" target="_blank">Google</a>
<img src= "img/cindy.jpg" />
• IDs and Classes
• Generic attributes used for styling and to define elements to be manipulated by script
• IDs used once on page; Classes can be used multiple times
• <div id="header”>
• <p class="red">
• Comments
Comments are used to remove text from code, does not render – site instructions or to void
something for testing
<!-- this is a comment -->
Programming Concepts
• Variables – store data to be used elsewhere in the program
name="cindy"
• Data Types – string, number, boolean
• Concatenation – combining variables, string and numbers
name= firstname + " " + lastname
Concatenates the value in firstname, a space and value in lastname
• Methods
num = password.length
password = name.substring(0,8)
Programming Concepts
• if statements
if(pw.length > 8) {
message = "password accepted";}
else {
message = "password rejected";
}
• loops
for(i=0; i< 10; i++) {
message = "repeating this 10 times";
}
Programming Concepts
• functions – a function is a way to store a series of instructions to be
referenced later in the program
• Definition and execution
function hello(a) {
message = "Hello " + a;
}
hello("Cindy");
Programming Concepts
• Arrays and Objects – ways to store data in a program
Array
bands = ["Coldplay", "U2", "Foo Fighters"];
access with index number, in square brackets, starting with 0
firstband = bands[0];
Object
bands = [{name: "Coldplay", country: "England"},
{name: "U2", country: "Ireland"},
{name: "Foo Fighters", country: "United States"};]
access with index number and property
firstbandname = bands[0].name
JavaScript Methods
Use JavaScript methods to manipulate the Document Object Model
(DOM)
document.getElementById("msg").innerHTML = "Hello World";
Grab value from a form element
first = document.getElementById("firstname").value;
These procedures are very powerful in making interactive
presentations
PhDigital Bootcamp: Web Development Concepts
JSON
• JavaScript Object Notation – a way to store and organize data in a text format
• Use a loop to access it and return to the DOM; use a condition to filter it
data = [ { "incnum": 16002735, "month": "Jan", "day": 10, "battalion": "B5",
"status": "Code 3", "priority": "3F", "unit": "ENG01", "district": 9, "lat":
30.228627, "long": -97.746432 },
{ "incnum": 16002786, "month": "Jan", "day": 10, "battalion": "B3", "status":
"Code 3", "priority": "3F", "unit": "ENG14", "district": 1, "lat": 30.300323,
"long": -97.640077 },
{ "incnum": 16002786, "month": "Jan", "day": 10, "battalion": "B3", "status":
"Left Blank", "priority": "3F", "unit": "QNT18", "district": 1, "lat": 30.300323,
"long": -97.640077 } ];

More Related Content

What's hot (20)

PDF
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
Scott DeLoach
 
PDF
Background property in css
Dhruvin Nakrani
 
ODP
Rebol VID STYLE CREATION AND DESIGN
crazyaxe
 
PPTX
Css box-model
Webtech Learning
 
PPTX
Cascading Style Sheets
Senthil Kumar
 
PPTX
Css intro
Julia Vi
 
PPTX
Css3 Presetation
Nicole Glasgow
 
PPTX
Languages for web(HTML,CSS,JS)
MHR11
 
PPTX
FFW Gabrovo PMG - HTML
Toni Kolev
 
PDF
Intro to html, css & sass
Sean Wolfe
 
PPSX
CodeIgniter L4 file upload & image manipulation & language
Mohammad Tahsin Alshalabi
 
PPTX
FFW Gabrovo PMG - CSS
Toni Kolev
 
PDF
Forking Oryx at Intalio
Antoine Toulme
 
PDF
IE9에서 HTML5 개발하기
Reagan Hwang
 
PPTX
CSS Walktrough Internship Course
Zoltan Iszlai
 
ODP
Into Enemy Territory: Architecting Client-side Code for Syndication
mathampson
 
PDF
From Shabby to Chic
Richard Bair
 
PPTX
Javascript and Jquery: The connection between
Clint LaForest
 
PPTX
css v1 guru
GuruPada Das
 
PPTX
New Elements & Features in CSS3
Jamshid Hashimi
 
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
Scott DeLoach
 
Background property in css
Dhruvin Nakrani
 
Rebol VID STYLE CREATION AND DESIGN
crazyaxe
 
Css box-model
Webtech Learning
 
Cascading Style Sheets
Senthil Kumar
 
Css intro
Julia Vi
 
Css3 Presetation
Nicole Glasgow
 
Languages for web(HTML,CSS,JS)
MHR11
 
FFW Gabrovo PMG - HTML
Toni Kolev
 
Intro to html, css & sass
Sean Wolfe
 
CodeIgniter L4 file upload & image manipulation & language
Mohammad Tahsin Alshalabi
 
FFW Gabrovo PMG - CSS
Toni Kolev
 
Forking Oryx at Intalio
Antoine Toulme
 
IE9에서 HTML5 개발하기
Reagan Hwang
 
CSS Walktrough Internship Course
Zoltan Iszlai
 
Into Enemy Territory: Architecting Client-side Code for Syndication
mathampson
 
From Shabby to Chic
Richard Bair
 
Javascript and Jquery: The connection between
Clint LaForest
 
css v1 guru
GuruPada Das
 
New Elements & Features in CSS3
Jamshid Hashimi
 

Similar to PhDigital Bootcamp: Web Development Concepts (20)

PPTX
PhDigital 2020: Web Development
Cindy Royal
 
PPTX
Web Development
Cindy Royal
 
PPTX
SPTechCon DevDays - SharePoint & jQuery
Mark Rackley
 
PPTX
Curtin University Frontend Web Development
Daryll Chu
 
PPTX
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
Mark Rackley
 
PPTX
Introduction to HTML+CSS+Javascript.pptx
deepuranjankumar2002
 
PPTX
Jquery fundamentals
Salvatore Fazio
 
PPT
WebDev Simplified Day 1 ppt.ppt
SarikaPurohit1
 
PPTX
Workflow Essentials for Web Development
Xavier Porter
 
PDF
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
Doris Chen
 
KEY
Slow kinda sucks
Tim Wright
 
PPTX
Html5 Overview
Abdel Moneim Emad
 
PPTX
Introduction to HTML .pptx
lekhacce
 
PDF
Advanced guide to develop ajax applications using dojo
Fu Cheng
 
PDF
Ajax Performance Tuning and Best Practices
Doris Chen
 
PDF
The Future State of Layout
Stephen Hay
 
PPT
HTML5_elementos nuevos integrados ahora
mano21161
 
PPTX
Html,CSS & UI/UX design
Karthikeyan Dhanasekaran CUA
 
PPTX
25444215.pptx
YashMittal302244
 
PDF
web development
ABHISHEKJHA176786
 
PhDigital 2020: Web Development
Cindy Royal
 
Web Development
Cindy Royal
 
SPTechCon DevDays - SharePoint & jQuery
Mark Rackley
 
Curtin University Frontend Web Development
Daryll Chu
 
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
Mark Rackley
 
Introduction to HTML+CSS+Javascript.pptx
deepuranjankumar2002
 
Jquery fundamentals
Salvatore Fazio
 
WebDev Simplified Day 1 ppt.ppt
SarikaPurohit1
 
Workflow Essentials for Web Development
Xavier Porter
 
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
Doris Chen
 
Slow kinda sucks
Tim Wright
 
Html5 Overview
Abdel Moneim Emad
 
Introduction to HTML .pptx
lekhacce
 
Advanced guide to develop ajax applications using dojo
Fu Cheng
 
Ajax Performance Tuning and Best Practices
Doris Chen
 
The Future State of Layout
Stephen Hay
 
HTML5_elementos nuevos integrados ahora
mano21161
 
Html,CSS & UI/UX design
Karthikeyan Dhanasekaran CUA
 
25444215.pptx
YashMittal302244
 
web development
ABHISHEKJHA176786
 
Ad

More from Cindy Royal (20)

PPTX
Redefining Doctoral Education: Preparing Future Faculty to Lead Emerging Med...
Cindy Royal
 
PPTX
Product Management
Cindy Royal
 
PPTX
Digital Product Management
Cindy Royal
 
PPTX
Bending, Breaking and Blending the Academy
Cindy Royal
 
PPT
Taking Control of Social Media For Your Career
Cindy Royal
 
PPTX
Bootstrap Web Development Framework
Cindy Royal
 
PPT
Web Development Intro
Cindy Royal
 
PPTX
PhDigital Bootcamp: Digital Product Management
Cindy Royal
 
PPTX
Digital and Social Certifications
Cindy Royal
 
PPTX
MiLab Presentation 2018
Cindy Royal
 
PPTX
Is Your Curriculum Digital Enough?
Cindy Royal
 
PPTX
Fundamentals of Digital/Online Media
Cindy Royal
 
PPTX
Bringing Digital Into the Curriculum - AEJMC 2017
Cindy Royal
 
PPTX
Responsive Design
Cindy Royal
 
PPT
The World of Web Development - 2017
Cindy Royal
 
PPT
Why Should Communicators Learn to Code?
Cindy Royal
 
PPTX
Engaging Audiences with Social Media
Cindy Royal
 
PPTX
Coding... For Communicators?
Cindy Royal
 
PDF
Git/GitHub
Cindy Royal
 
PDF
Application Programming Interfaces
Cindy Royal
 
Redefining Doctoral Education: Preparing Future Faculty to Lead Emerging Med...
Cindy Royal
 
Product Management
Cindy Royal
 
Digital Product Management
Cindy Royal
 
Bending, Breaking and Blending the Academy
Cindy Royal
 
Taking Control of Social Media For Your Career
Cindy Royal
 
Bootstrap Web Development Framework
Cindy Royal
 
Web Development Intro
Cindy Royal
 
PhDigital Bootcamp: Digital Product Management
Cindy Royal
 
Digital and Social Certifications
Cindy Royal
 
MiLab Presentation 2018
Cindy Royal
 
Is Your Curriculum Digital Enough?
Cindy Royal
 
Fundamentals of Digital/Online Media
Cindy Royal
 
Bringing Digital Into the Curriculum - AEJMC 2017
Cindy Royal
 
Responsive Design
Cindy Royal
 
The World of Web Development - 2017
Cindy Royal
 
Why Should Communicators Learn to Code?
Cindy Royal
 
Engaging Audiences with Social Media
Cindy Royal
 
Coding... For Communicators?
Cindy Royal
 
Git/GitHub
Cindy Royal
 
Application Programming Interfaces
Cindy Royal
 
Ad

Recently uploaded (20)

PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Python basic programing language for automation
DanialHabibi2
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 

PhDigital Bootcamp: Web Development Concepts

  • 2. Outline • Review HTML/CSS concepts • Using a Bootstrap installation • DOM Manipulation with JavaScript • Quiz Exercise • Filtering and Visualizing Data
  • 3. HTML Layout elements <div> <span> Forms <form id="myform"> <input type="text" id="firstname" /> <select id="car"> <option value="ford">Ford</option> <option value="volvo">Volvo</option> <option value="saab">Saab</option> </select> </form>
  • 4. CSS • Cascading Stylesheets provide a way to style elements across a site • It is used for establishing layout, color, font-sizes and more • Can be used in an external stylesheet, linked in each html page <link rel="stylesheet" href="css/style.css" type=”text/css" > • in the head of a document <style> p { font-family: Helvetica; font-size: 14px; } </style> • Inline <p style= ”font-famly: Helvetica”>
  • 5. HTML • Attributes Provide options within elements (href, src, bgcolor, text…) <a href= "http://google.com" target="_blank">Google</a> <img src= "img/cindy.jpg" /> • IDs and Classes • Generic attributes used for styling and to define elements to be manipulated by script • IDs used once on page; Classes can be used multiple times • <div id="header”> • <p class="red"> • Comments Comments are used to remove text from code, does not render – site instructions or to void something for testing <!-- this is a comment -->
  • 6. Programming Concepts • Variables – store data to be used elsewhere in the program name="cindy" • Data Types – string, number, boolean • Concatenation – combining variables, string and numbers name= firstname + " " + lastname Concatenates the value in firstname, a space and value in lastname • Methods num = password.length password = name.substring(0,8)
  • 7. Programming Concepts • if statements if(pw.length > 8) { message = "password accepted";} else { message = "password rejected"; } • loops for(i=0; i< 10; i++) { message = "repeating this 10 times"; }
  • 8. Programming Concepts • functions – a function is a way to store a series of instructions to be referenced later in the program • Definition and execution function hello(a) { message = "Hello " + a; } hello("Cindy");
  • 9. Programming Concepts • Arrays and Objects – ways to store data in a program Array bands = ["Coldplay", "U2", "Foo Fighters"]; access with index number, in square brackets, starting with 0 firstband = bands[0]; Object bands = [{name: "Coldplay", country: "England"}, {name: "U2", country: "Ireland"}, {name: "Foo Fighters", country: "United States"};] access with index number and property firstbandname = bands[0].name
  • 10. JavaScript Methods Use JavaScript methods to manipulate the Document Object Model (DOM) document.getElementById("msg").innerHTML = "Hello World"; Grab value from a form element first = document.getElementById("firstname").value; These procedures are very powerful in making interactive presentations
  • 12. JSON • JavaScript Object Notation – a way to store and organize data in a text format • Use a loop to access it and return to the DOM; use a condition to filter it data = [ { "incnum": 16002735, "month": "Jan", "day": 10, "battalion": "B5", "status": "Code 3", "priority": "3F", "unit": "ENG01", "district": 9, "lat": 30.228627, "long": -97.746432 }, { "incnum": 16002786, "month": "Jan", "day": 10, "battalion": "B3", "status": "Code 3", "priority": "3F", "unit": "ENG14", "district": 1, "lat": 30.300323, "long": -97.640077 }, { "incnum": 16002786, "month": "Jan", "day": 10, "battalion": "B3", "status": "Left Blank", "priority": "3F", "unit": "QNT18", "district": 1, "lat": 30.300323, "long": -97.640077 } ];

Editor's Notes

  • #2: Will be covering a lot. Can't cover everything, but will attempt to provide resources and food for thought to follow on later.Some general rules/infoHow workshop will work Try to remove distractions as much as possible. Glad to get you away from routine bathrooms snacks – water, juices, teas in milab. Soft drinks, if you really want, there is a vending machine. campus – will walk to San Marcos Square for dinner tonight.