SlideShare uma empresa Scribd logo
1 de 12
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
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 } ];

Mais conteúdo relacionado

Mais procurados

CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStartCSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStartScott DeLoach
 
Background property in css
Background property in cssBackground property in css
Background property in cssDhruvin Nakrani
 
Rebol VID STYLE CREATION AND DESIGN
Rebol VID STYLE CREATION AND DESIGNRebol VID STYLE CREATION AND DESIGN
Rebol VID STYLE CREATION AND DESIGNcrazyaxe
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsSenthil Kumar
 
Languages for web(HTML,CSS,JS)
Languages for web(HTML,CSS,JS)Languages for web(HTML,CSS,JS)
Languages for web(HTML,CSS,JS)MHR11
 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLToni Kolev
 
Intro to html, css & sass
Intro to html, css & sassIntro to html, css & sass
Intro to html, css & sassSean Wolfe
 
CodeIgniter L4 file upload & image manipulation & language
CodeIgniter L4 file upload & image manipulation & languageCodeIgniter L4 file upload & image manipulation & language
CodeIgniter L4 file upload & image manipulation & languageMohammad Tahsin Alshalabi
 
FFW Gabrovo PMG - CSS
FFW Gabrovo PMG - CSSFFW Gabrovo PMG - CSS
FFW Gabrovo PMG - CSSToni Kolev
 
Forking Oryx at Intalio
Forking Oryx at IntalioForking Oryx at Intalio
Forking Oryx at IntalioAntoine Toulme
 
IE9에서 HTML5 개발하기
IE9에서 HTML5 개발하기IE9에서 HTML5 개발하기
IE9에서 HTML5 개발하기Reagan Hwang
 
CSS Walktrough Internship Course
CSS Walktrough Internship CourseCSS Walktrough Internship Course
CSS Walktrough Internship CourseZoltan Iszlai
 
Into Enemy Territory: Architecting Client-side Code for Syndication
Into Enemy Territory: Architecting Client-side Code for SyndicationInto Enemy Territory: Architecting Client-side Code for Syndication
Into Enemy Territory: Architecting Client-side Code for Syndicationmathampson
 
From Shabby to Chic
From Shabby to ChicFrom Shabby to Chic
From Shabby to ChicRichard Bair
 
Javascript and Jquery: The connection between
Javascript and Jquery: The connection betweenJavascript and Jquery: The connection between
Javascript and Jquery: The connection betweenClint LaForest
 
New Elements & Features in CSS3
New Elements & Features in CSS3New Elements & Features in CSS3
New Elements & Features in CSS3Jamshid Hashimi
 

Mais procurados (20)

CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStartCSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
 
Background property in css
Background property in cssBackground property in css
Background property in css
 
Rebol VID STYLE CREATION AND DESIGN
Rebol VID STYLE CREATION AND DESIGNRebol VID STYLE CREATION AND DESIGN
Rebol VID STYLE CREATION AND DESIGN
 
Css box-model
Css box-modelCss box-model
Css box-model
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Css intro
Css introCss intro
Css intro
 
Css3 Presetation
Css3 PresetationCss3 Presetation
Css3 Presetation
 
Languages for web(HTML,CSS,JS)
Languages for web(HTML,CSS,JS)Languages for web(HTML,CSS,JS)
Languages for web(HTML,CSS,JS)
 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
 
Intro to html, css & sass
Intro to html, css & sassIntro to html, css & sass
Intro to html, css & sass
 
CodeIgniter L4 file upload & image manipulation & language
CodeIgniter L4 file upload & image manipulation & languageCodeIgniter L4 file upload & image manipulation & language
CodeIgniter L4 file upload & image manipulation & language
 
FFW Gabrovo PMG - CSS
FFW Gabrovo PMG - CSSFFW Gabrovo PMG - CSS
FFW Gabrovo PMG - CSS
 
Forking Oryx at Intalio
Forking Oryx at IntalioForking Oryx at Intalio
Forking Oryx at Intalio
 
IE9에서 HTML5 개발하기
IE9에서 HTML5 개발하기IE9에서 HTML5 개발하기
IE9에서 HTML5 개발하기
 
CSS Walktrough Internship Course
CSS Walktrough Internship CourseCSS Walktrough Internship Course
CSS Walktrough Internship Course
 
Into Enemy Territory: Architecting Client-side Code for Syndication
Into Enemy Territory: Architecting Client-side Code for SyndicationInto Enemy Territory: Architecting Client-side Code for Syndication
Into Enemy Territory: Architecting Client-side Code for Syndication
 
From Shabby to Chic
From Shabby to ChicFrom Shabby to Chic
From Shabby to Chic
 
Javascript and Jquery: The connection between
Javascript and Jquery: The connection betweenJavascript and Jquery: The connection between
Javascript and Jquery: The connection between
 
css v1 guru
css v1 gurucss v1 guru
css v1 guru
 
New Elements & Features in CSS3
New Elements & Features in CSS3New Elements & Features in CSS3
New Elements & Features in CSS3
 

Semelhante a PhDigital Bootcamp: Web Development Concepts

PhDigital 2020: Web Development
PhDigital 2020: Web DevelopmentPhDigital 2020: Web Development
PhDigital 2020: Web DevelopmentCindy Royal
 
SPTechCon DevDays - SharePoint & jQuery
SPTechCon DevDays - SharePoint & jQuerySPTechCon DevDays - SharePoint & jQuery
SPTechCon DevDays - SharePoint & jQueryMark Rackley
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web DevelopmentDaryll Chu
 
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePointSPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePointMark Rackley
 
WebDev Simplified Day 1 ppt.ppt
WebDev Simplified Day 1 ppt.pptWebDev Simplified Day 1 ppt.ppt
WebDev Simplified Day 1 ppt.pptSarikaPurohit1
 
Workflow Essentials for Web Development
Workflow Essentials for Web DevelopmentWorkflow Essentials for Web Development
Workflow Essentials for Web DevelopmentXavier Porter
 
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)Doris Chen
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
Advanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojoAdvanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojoFu Cheng
 
Ajax Performance Tuning and Best Practices
Ajax Performance Tuning and Best PracticesAjax Performance Tuning and Best Practices
Ajax Performance Tuning and Best PracticesDoris Chen
 
The Future State of Layout
The Future State of LayoutThe Future State of Layout
The Future State of LayoutStephen Hay
 
Web Components and Modular CSS
Web Components and Modular CSSWeb Components and Modular CSS
Web Components and Modular CSSAndrew Rota
 
SEF2013 - A jQuery Primer for SharePoint
SEF2013 - A jQuery Primer for SharePointSEF2013 - A jQuery Primer for SharePoint
SEF2013 - A jQuery Primer for SharePointMarc D Anderson
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1Heather Rock
 

Semelhante a PhDigital Bootcamp: Web Development Concepts (20)

PhDigital 2020: Web Development
PhDigital 2020: Web DevelopmentPhDigital 2020: Web Development
PhDigital 2020: Web Development
 
Web Development
Web DevelopmentWeb Development
Web Development
 
SPTechCon DevDays - SharePoint & jQuery
SPTechCon DevDays - SharePoint & jQuerySPTechCon DevDays - SharePoint & jQuery
SPTechCon DevDays - SharePoint & jQuery
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web Development
 
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePointSPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
 
Jquery fundamentals
Jquery fundamentalsJquery fundamentals
Jquery fundamentals
 
WebDev Simplified Day 1 ppt.ppt
WebDev Simplified Day 1 ppt.pptWebDev Simplified Day 1 ppt.ppt
WebDev Simplified Day 1 ppt.ppt
 
Workflow Essentials for Web Development
Workflow Essentials for Web DevelopmentWorkflow Essentials for Web Development
Workflow Essentials for Web Development
 
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
jQuery Makes Writing JavaScript Fun Again (for HTML5 User Group)
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
 
Advanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojoAdvanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojo
 
Ajax Performance Tuning and Best Practices
Ajax Performance Tuning and Best PracticesAjax Performance Tuning and Best Practices
Ajax Performance Tuning and Best Practices
 
The Future State of Layout
The Future State of LayoutThe Future State of Layout
The Future State of Layout
 
Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
 
25444215.pptx
25444215.pptx25444215.pptx
25444215.pptx
 
web development
web developmentweb development
web development
 
Web Components and Modular CSS
Web Components and Modular CSSWeb Components and Modular CSS
Web Components and Modular CSS
 
SEF2013 - A jQuery Primer for SharePoint
SEF2013 - A jQuery Primer for SharePointSEF2013 - A jQuery Primer for SharePoint
SEF2013 - A jQuery Primer for SharePoint
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
 

Mais de Cindy Royal

Redefining Doctoral Education: Preparing Future Faculty to Lead Emerging Med...
Redefining Doctoral Education:  Preparing Future Faculty to Lead Emerging Med...Redefining Doctoral Education:  Preparing Future Faculty to Lead Emerging Med...
Redefining Doctoral Education: Preparing Future Faculty to Lead Emerging Med...Cindy Royal
 
Product Management
Product ManagementProduct Management
Product ManagementCindy Royal
 
Digital Product Management
Digital Product ManagementDigital Product Management
Digital Product ManagementCindy Royal
 
Bending, Breaking and Blending the Academy
Bending, Breaking and Blending the AcademyBending, Breaking and Blending the Academy
Bending, Breaking and Blending the AcademyCindy Royal
 
Taking Control of Social Media For Your Career
Taking Control of Social Media For Your CareerTaking Control of Social Media For Your Career
Taking Control of Social Media For Your CareerCindy Royal
 
Bootstrap Web Development Framework
Bootstrap Web Development FrameworkBootstrap Web Development Framework
Bootstrap Web Development FrameworkCindy Royal
 
Web Development Intro
Web Development IntroWeb Development Intro
Web Development IntroCindy Royal
 
PhDigital Bootcamp: Digital Product Management
PhDigital Bootcamp: Digital Product ManagementPhDigital Bootcamp: Digital Product Management
PhDigital Bootcamp: Digital Product ManagementCindy Royal
 
Digital and Social Certifications
Digital and Social CertificationsDigital and Social Certifications
Digital and Social CertificationsCindy Royal
 
MiLab Presentation 2018
MiLab Presentation 2018MiLab Presentation 2018
MiLab Presentation 2018Cindy Royal
 
Is Your Curriculum Digital Enough?
Is Your Curriculum Digital Enough?Is Your Curriculum Digital Enough?
Is Your Curriculum Digital Enough?Cindy Royal
 
Fundamentals of Digital/Online Media
Fundamentals of Digital/Online MediaFundamentals of Digital/Online Media
Fundamentals of Digital/Online MediaCindy Royal
 
Bringing Digital Into the Curriculum - AEJMC 2017
Bringing Digital Into the Curriculum - AEJMC 2017Bringing Digital Into the Curriculum - AEJMC 2017
Bringing Digital Into the Curriculum - AEJMC 2017Cindy Royal
 
Responsive Design
Responsive DesignResponsive Design
Responsive DesignCindy Royal
 
The World of Web Development - 2017
The World of Web Development - 2017The World of Web Development - 2017
The World of Web Development - 2017Cindy Royal
 
Why Should Communicators Learn to Code?
Why Should Communicators Learn to Code?Why Should Communicators Learn to Code?
Why Should Communicators Learn to Code?Cindy Royal
 
Engaging Audiences with Social Media
Engaging Audiences with Social MediaEngaging Audiences with Social Media
Engaging Audiences with Social MediaCindy Royal
 
Coding... For Communicators?
Coding... For Communicators?Coding... For Communicators?
Coding... For Communicators?Cindy Royal
 
Application Programming Interfaces
Application Programming InterfacesApplication Programming Interfaces
Application Programming InterfacesCindy Royal
 

Mais de Cindy Royal (20)

Redefining Doctoral Education: Preparing Future Faculty to Lead Emerging Med...
Redefining Doctoral Education:  Preparing Future Faculty to Lead Emerging Med...Redefining Doctoral Education:  Preparing Future Faculty to Lead Emerging Med...
Redefining Doctoral Education: Preparing Future Faculty to Lead Emerging Med...
 
Product Management
Product ManagementProduct Management
Product Management
 
Digital Product Management
Digital Product ManagementDigital Product Management
Digital Product Management
 
Bending, Breaking and Blending the Academy
Bending, Breaking and Blending the AcademyBending, Breaking and Blending the Academy
Bending, Breaking and Blending the Academy
 
Taking Control of Social Media For Your Career
Taking Control of Social Media For Your CareerTaking Control of Social Media For Your Career
Taking Control of Social Media For Your Career
 
Bootstrap Web Development Framework
Bootstrap Web Development FrameworkBootstrap Web Development Framework
Bootstrap Web Development Framework
 
Web Development Intro
Web Development IntroWeb Development Intro
Web Development Intro
 
PhDigital Bootcamp: Digital Product Management
PhDigital Bootcamp: Digital Product ManagementPhDigital Bootcamp: Digital Product Management
PhDigital Bootcamp: Digital Product Management
 
Digital and Social Certifications
Digital and Social CertificationsDigital and Social Certifications
Digital and Social Certifications
 
MiLab Presentation 2018
MiLab Presentation 2018MiLab Presentation 2018
MiLab Presentation 2018
 
Is Your Curriculum Digital Enough?
Is Your Curriculum Digital Enough?Is Your Curriculum Digital Enough?
Is Your Curriculum Digital Enough?
 
Fundamentals of Digital/Online Media
Fundamentals of Digital/Online MediaFundamentals of Digital/Online Media
Fundamentals of Digital/Online Media
 
Bringing Digital Into the Curriculum - AEJMC 2017
Bringing Digital Into the Curriculum - AEJMC 2017Bringing Digital Into the Curriculum - AEJMC 2017
Bringing Digital Into the Curriculum - AEJMC 2017
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
The World of Web Development - 2017
The World of Web Development - 2017The World of Web Development - 2017
The World of Web Development - 2017
 
Why Should Communicators Learn to Code?
Why Should Communicators Learn to Code?Why Should Communicators Learn to Code?
Why Should Communicators Learn to Code?
 
Engaging Audiences with Social Media
Engaging Audiences with Social MediaEngaging Audiences with Social Media
Engaging Audiences with Social Media
 
Coding... For Communicators?
Coding... For Communicators?Coding... For Communicators?
Coding... For Communicators?
 
Git/GitHub
Git/GitHubGit/GitHub
Git/GitHub
 
Application Programming Interfaces
Application Programming InterfacesApplication Programming Interfaces
Application Programming Interfaces
 

Último

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Último (20)

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

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
  • 11.
  • 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 } ];

Notas do Editor

  1. 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.