SlideShare a Scribd company logo
Week 4
HTML / CSS / JavaScript
The web
HTML
Codepen.io
Bryan Ollendyke
[at]btopro
Developer Activist
EdTechJoker Spring 2020 - Lecture 4 - HTML
Today’s Topic / What you'll learn about
- basics of HTML, CSS, JavaScript
- Where all this came from
- How to use the Inspector to modify web
pages
- Security implications of JavaScript and
past exploits that brought down github
- Writing some basics and modifying
existing HTML
- Forking and modifying a basic resume on
codepen.io
HTML
CSS
JS
Terms / definitions for today
- HTML – Hyper Text Markup Language
- CSS – Cascading Style Sheets
- JS – JavaScript
- DOM – Document Object Model
- IDE - Integrated development environment
- W3C – World Wide Web Consortium
- WHATWG - Web Hypertext Application
Technology Working Group
- DOS – Denial of Service
- DDOS – Distributed Denial of Service
- HTTP - hypertext transfer protocol
HTML
CSS
JS
Who’s using these
- HTML / CSS, every webpage on the internet
- JS... Damn near everyone unless disabled
on purpose
HTML
CSS
JS
blockmetry.com – web analytics for “ethical marketers”
Are there differences between browsers?
- Sadly, yes.
- Used to be dramatic differences in CSS
and JavaScript processing capabilities
- W3C founded to establish and help people
implement standards in a uniform way
- Web Hypertext Application Technology
Working Group (2004) founded by browser
vendors to push HTML further than the
W3C was able to do at that time (HTML5)
- 2019 – these orgs have committed to
merging efforts!
HTML
CSS
JS
pcninja.com – just an amazing google search here
statcounter.com – great browser usage reporting engine
html5rocks.com – Webkit (Safari, 2011)
html5rocks.com – Mozilla Gecko (2011)
The hierarchy of the document
Document Object Model (DOM)
What is HTML
- HTML Defines the structure and order
of the web page (DOM)
HTML
CSS
JS
What CSS does
- CSS styles the structure by applying
attributes directly to “selectors”
HTML
CSS
JS
EdTechJoker Spring 2020 - Lecture 4 - HTML
EdTechJoker Spring 2020 - Lecture 4 - HTML
Responsive design / @media queries
https://developers.google.com/web/fundamentals/design-and-ux/responsive/
CSS Design frameworks
- Bootstrap – open sourced by twitter
- https://getbootstrap.com/
- describes their visual language for
presenting interfaces
- Many (too many) have adopted it as a
replacement for design variability
- Canvas is built on this for example
- Clean defaults + basic javascript
elements
HTML
CSS
JS
EdTechJoker Spring 2020 - Lecture 4 - HTML
CSS Abstraction
- SASS - Sass is the most mature, stable,
and powerful professional grade CSS
extension language in the world.
- https://sass-lang.com/
- personal note: I’m not a huge fan of
languages that MUST be preprocessed
in order to work. I’d recommend learning
css long before SASS
however, there are many who make a living
just doing this so it’s legit.
HTML
CSS
JS
The “Script” part in JavaScript is
- What immediately complicates the web
- Leads to heavy abstractions and people
leveraging libraries in order to write
less code but do more
- jQuery != JavaScript
(though extremely popular)
- $ is a dead give away of jQuery
- Popular with those getting started
- https://jquery-tutorial.net/introduction/hello-world/
HTML
CSS
JS
What JavaScript screws up makes possible
- JavaScript allows for applying scripting
and interactivity to the HTML structure
to dynamically modify the DOM / HTML
HTML
CSS
JS
”Vanilla” JavaScript
vs
jQuery
JavaScript CDNs are popular
- Javascript loaded via a “CDN”
content delivery network
Security
Time
JavaScript CDNs are popular
- Javascript loaded via a “CDN”
content delivery network
Security
Time
JavaScript CDNs are popular an attack vector
- JavaScript loaded via a “CDN”
content delivery network
- Web pages are as secure as the JavaScript
loaded into them.
- XSS – Cross Site Script Attacks are
legit things to worry about and often
not terribly complicated to execute
Security
Time
EdTechJoker Spring 2020 - Lecture 4 - HTML
EdTechJoker Spring 2020 - Lecture 4 - HTML
CDNs are amazing though, don’t mistake
- CDNs must be from trusted source
- All modern businesses leverage CDNs
- CDNs serve content faster then traditional
server methods
- Faster content === more business
- We’ll talk more about CDNs in the future
- https://www.youtube.com/watch?time_continue=8&v=QCEid2WCszM
Security
Time
Let’s Hack Penn State
Ok well.. Not really.
The hierarchy of the document
Document Object Model (DOM)
The hierarchy of the document
Document Object Model (DOM)
The hierarchy of the document
Document Object Model (DOM)
The hierarchy of the document
Document Object Model (DOM)
Useful links / learning more
- https://www.quackit.com/html/tutorial/
- Google HTML or CSS cheat sheet
- Learn HTML in 12 Minutes
https://www.youtube.com/watch?v=bWPMSSsVdPk
- search https://codepen.io/ for tutorial
- https://caniuse.com – Spec search
- Mozilla JavaScript basics
https://developer.mozilla.org/en-
US/docs/Learn/Getting_started_with_the_web/JavaScript_basics
HTML
CSS
JS
Prep - Week 5 Topic:
Content Management
Systems via Reclaim
Hosting
Looking ahead
Bryan Ollendyke
[at]btopro
reclaimhosting.com
reclaimhosting.com
What we’ll do now
- Mess with Inspector to modify psu.edu
- Play with and explore CodePen.io
- Fork a pen of mine that we’ll step
through together
- Ask questions, this is just a foot
in the door to this topic and we’ll
be exploring other technologies and
related platforms as the semester
progresses
HTML
CSS
JS
Lab
- Start modifying a pen to reverse engineer
a resume boilerplate
- Fork Reflection Pen
- write your reflection post there
- add a link to your video response there
Reflection topic (pick at least one)
- Explaining styling an element in CSS
- Explain how to use JavaScript and
getElementById to add a click event to
an element in an existing codepen
- Value of CodePen as a platform
CodePen.io
Quick break and then..
CodePen
Editing and understanding
code pen
HTML
CodePen.io
Bryan Ollendyke
[at]btopro

More Related Content

PPTX
HTML / CSS / JS Web basics
btopro
 
PDF
[jqconatx] Adaptive Images for Responsive Web Design
Christopher Schmitt
 
PDF
Introduction to WordPress Security
Nile Flores
 
PPTX
A beginner's guide to twitter bootstrap
Sunanda Bansal
 
PDF
WordPress Theme Performance - WP Vienna meetup 8.6.2016
jancbeck
 
PDF
PrairieDevCon 2014 - Web Doesn't Mean Slow
dmethvin
 
PDF
JS in Rural Communities
Matt Keas
 
PDF
Introduction to Web Development Career
Eunus Hosen
 
HTML / CSS / JS Web basics
btopro
 
[jqconatx] Adaptive Images for Responsive Web Design
Christopher Schmitt
 
Introduction to WordPress Security
Nile Flores
 
A beginner's guide to twitter bootstrap
Sunanda Bansal
 
WordPress Theme Performance - WP Vienna meetup 8.6.2016
jancbeck
 
PrairieDevCon 2014 - Web Doesn't Mean Slow
dmethvin
 
JS in Rural Communities
Matt Keas
 
Introduction to Web Development Career
Eunus Hosen
 

What's hot (20)

PDF
Disruptive code
brucelawson
 
KEY
Speed is Essential for a Great Web Experience
Andy Davies
 
PPS
Introduction to Bootstrap: Design for Developers
Melvin John
 
PDF
Front-End Frameworks: a quick overview
Diacode
 
PPT
The Need For Speed
Andy Davies
 
ODP
When dynamic becomes static - the next step in web caching techniques
Wim Godden
 
PDF
CSS Grid Changes Everything - Keynote at WebCamp Zagreb 2017
Morten Rand-Hendriksen
 
PDF
Introduction to Optimizing WordPress for Website Speed
Nile Flores
 
PPTX
Making Web Fun
Rajasekar Murugan
 
PDF
Building the next generation of themes with WP Rig 2.0
Morten Rand-Hendriksen
 
PDF
How to Build Custom WordPress Blocks
Morten Rand-Hendriksen
 
PDF
The Big Picture: Responsive Images in Action #devcon13
Matthias Lau
 
PDF
Fecrash10:3:17 sd
Thinkful
 
PDF
Making Mobile Sites Faster
Andy Davies
 
KEY
Sniffing the Mobile Context
Andy Davies
 
PPTX
Bootstrap ppt
Ishtdeep Hora
 
PPTX
How to Build a Bespoke Page Builder in WordPress
Gerald Glynn
 
PDF
Speed Index, explained!
Stefan Baumgartner
 
PDF
CSS vs. JavaScript - Trust vs. Control
Christian Heilmann
 
PPTX
Christmas Trees Made with HTML CSS and JS
Niamh Foley
 
Disruptive code
brucelawson
 
Speed is Essential for a Great Web Experience
Andy Davies
 
Introduction to Bootstrap: Design for Developers
Melvin John
 
Front-End Frameworks: a quick overview
Diacode
 
The Need For Speed
Andy Davies
 
When dynamic becomes static - the next step in web caching techniques
Wim Godden
 
CSS Grid Changes Everything - Keynote at WebCamp Zagreb 2017
Morten Rand-Hendriksen
 
Introduction to Optimizing WordPress for Website Speed
Nile Flores
 
Making Web Fun
Rajasekar Murugan
 
Building the next generation of themes with WP Rig 2.0
Morten Rand-Hendriksen
 
How to Build Custom WordPress Blocks
Morten Rand-Hendriksen
 
The Big Picture: Responsive Images in Action #devcon13
Matthias Lau
 
Fecrash10:3:17 sd
Thinkful
 
Making Mobile Sites Faster
Andy Davies
 
Sniffing the Mobile Context
Andy Davies
 
Bootstrap ppt
Ishtdeep Hora
 
How to Build a Bespoke Page Builder in WordPress
Gerald Glynn
 
Speed Index, explained!
Stefan Baumgartner
 
CSS vs. JavaScript - Trust vs. Control
Christian Heilmann
 
Christmas Trees Made with HTML CSS and JS
Niamh Foley
 
Ad

Similar to EdTechJoker Spring 2020 - Lecture 4 - HTML (20)

PPTX
Html5 & less css
Graham Johnson
 
PDF
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
Sadaaki HIRAI
 
PDF
DrupalCampLA 2011 - Drupal frontend-optimizing
Ashok Modi
 
PPT
Testable client side_mvc_apps_in_javascript
Timothy Oxley
 
PDF
Frontend Performance: Illusions & browser rendering
Manuel Garcia
 
PPT
State of modern web technologies: an introduction
Michael Ahearn
 
PPTX
10 Tips to make your Website lightning-fast - SMX Stockholm 2012
Bastian Grimm
 
PPT
Using a CSS Framework
Gareth Saunders
 
PPT
Scaling 101
Chris Finne
 
PPT
Scaling 101 test
Rashmi Sinha
 
PPT
Please dont touch-3.6-jsday
Francesco Fullone
 
PDF
Death of a Themer
James Panton
 
PPTX
Building high performing web pages
Nilesh Bafna
 
PDF
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
PPT
6 css week12 2020 2021 for g10
Osama Ghandour Geris
 
PPT
Mobile Monday Presentation: Responsive Web Design
Cantina
 
PPT
performance.ppt
fakeaccount225095
 
PDF
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
Oliver Ochs
 
PPTX
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
Distilled
 
PPTX
Responsivedesign 7-3-2012
Thomas Carney
 
Html5 & less css
Graham Johnson
 
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
Sadaaki HIRAI
 
DrupalCampLA 2011 - Drupal frontend-optimizing
Ashok Modi
 
Testable client side_mvc_apps_in_javascript
Timothy Oxley
 
Frontend Performance: Illusions & browser rendering
Manuel Garcia
 
State of modern web technologies: an introduction
Michael Ahearn
 
10 Tips to make your Website lightning-fast - SMX Stockholm 2012
Bastian Grimm
 
Using a CSS Framework
Gareth Saunders
 
Scaling 101
Chris Finne
 
Scaling 101 test
Rashmi Sinha
 
Please dont touch-3.6-jsday
Francesco Fullone
 
Death of a Themer
James Panton
 
Building high performing web pages
Nilesh Bafna
 
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
6 css week12 2020 2021 for g10
Osama Ghandour Geris
 
Mobile Monday Presentation: Responsive Web Design
Cantina
 
performance.ppt
fakeaccount225095
 
Building Performance - ein Frontend-Build-Prozess für Java mit Maven
Oliver Ochs
 
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
Distilled
 
Responsivedesign 7-3-2012
Thomas Carney
 
Ad

More from Bryan Ollendyke (20)

PPTX
Lecture 14 - OER final project
Bryan Ollendyke
 
PDF
Lecture 12 - Docker
Bryan Ollendyke
 
PDF
Lecture 11 - Web components
Bryan Ollendyke
 
PPTX
EdTechJoker Spring 2020 - Lecture 10 HAXTheWeb
Bryan Ollendyke
 
PPTX
EdTechJoker Spring 2020 - Lecture 8 Drupal again
Bryan Ollendyke
 
PPTX
EdTechJoker Spring 2020 - Lecture 7 Drupal intro
Bryan Ollendyke
 
PPTX
EdTechJoker Spring 2020 - Lecture 6 - WordPress
Bryan Ollendyke
 
PPTX
EdTechJoker Spring 2020 - Lecture 5 grav cms
Bryan Ollendyke
 
PPTX
EdTechJoker Spring 2020 - Lecture 2 - Git
Bryan Ollendyke
 
PPTX
EdTechJoker Spring 2020 - Lecture 1 - Welcome
Bryan Ollendyke
 
PPTX
Apereo 2018 - NGDLE, OER, Cost reduction, accessibility and decentralization
Bryan Ollendyke
 
PPTX
Apereo 2018 - Webcomponents and building a unified authoring experience for a...
Bryan Ollendyke
 
PPTX
Apereo 2018 - HAX lightning talk
Bryan Ollendyke
 
PPTX
Apereo 2018 - NGDLE efforts
Bryan Ollendyke
 
PPTX
Apereo 2018 - Polymer training
Bryan Ollendyke
 
PPTX
Building and Envisioning a Next Generation Digital Learning Environment
Bryan Ollendyke
 
PPTX
History of the web as a platform from 1996 to 2017
Bryan Ollendyke
 
PPTX
NGDLE (2016 version)
Bryan Ollendyke
 
PPTX
Rethinking system design
Bryan Ollendyke
 
PPTX
Drupal Govcon 2017 Polymer workshop slides
Bryan Ollendyke
 
Lecture 14 - OER final project
Bryan Ollendyke
 
Lecture 12 - Docker
Bryan Ollendyke
 
Lecture 11 - Web components
Bryan Ollendyke
 
EdTechJoker Spring 2020 - Lecture 10 HAXTheWeb
Bryan Ollendyke
 
EdTechJoker Spring 2020 - Lecture 8 Drupal again
Bryan Ollendyke
 
EdTechJoker Spring 2020 - Lecture 7 Drupal intro
Bryan Ollendyke
 
EdTechJoker Spring 2020 - Lecture 6 - WordPress
Bryan Ollendyke
 
EdTechJoker Spring 2020 - Lecture 5 grav cms
Bryan Ollendyke
 
EdTechJoker Spring 2020 - Lecture 2 - Git
Bryan Ollendyke
 
EdTechJoker Spring 2020 - Lecture 1 - Welcome
Bryan Ollendyke
 
Apereo 2018 - NGDLE, OER, Cost reduction, accessibility and decentralization
Bryan Ollendyke
 
Apereo 2018 - Webcomponents and building a unified authoring experience for a...
Bryan Ollendyke
 
Apereo 2018 - HAX lightning talk
Bryan Ollendyke
 
Apereo 2018 - NGDLE efforts
Bryan Ollendyke
 
Apereo 2018 - Polymer training
Bryan Ollendyke
 
Building and Envisioning a Next Generation Digital Learning Environment
Bryan Ollendyke
 
History of the web as a platform from 1996 to 2017
Bryan Ollendyke
 
NGDLE (2016 version)
Bryan Ollendyke
 
Rethinking system design
Bryan Ollendyke
 
Drupal Govcon 2017 Polymer workshop slides
Bryan Ollendyke
 

Recently uploaded (20)

PPTX
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PPTX
CDH. pptx
AneetaSharma15
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Virus sequence retrieval from NCBI database
yamunaK13
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
Basics and rules of probability with real-life uses
ravatkaran694
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
CDH. pptx
AneetaSharma15
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
Virus sequence retrieval from NCBI database
yamunaK13
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 

EdTechJoker Spring 2020 - Lecture 4 - HTML

  • 1. Week 4 HTML / CSS / JavaScript The web HTML Codepen.io Bryan Ollendyke [at]btopro Developer Activist
  • 3. Today’s Topic / What you'll learn about - basics of HTML, CSS, JavaScript - Where all this came from - How to use the Inspector to modify web pages - Security implications of JavaScript and past exploits that brought down github - Writing some basics and modifying existing HTML - Forking and modifying a basic resume on codepen.io HTML CSS JS
  • 4. Terms / definitions for today - HTML – Hyper Text Markup Language - CSS – Cascading Style Sheets - JS – JavaScript - DOM – Document Object Model - IDE - Integrated development environment - W3C – World Wide Web Consortium - WHATWG - Web Hypertext Application Technology Working Group - DOS – Denial of Service - DDOS – Distributed Denial of Service - HTTP - hypertext transfer protocol HTML CSS JS
  • 5. Who’s using these - HTML / CSS, every webpage on the internet - JS... Damn near everyone unless disabled on purpose HTML CSS JS
  • 6. blockmetry.com – web analytics for “ethical marketers”
  • 7. Are there differences between browsers? - Sadly, yes. - Used to be dramatic differences in CSS and JavaScript processing capabilities - W3C founded to establish and help people implement standards in a uniform way - Web Hypertext Application Technology Working Group (2004) founded by browser vendors to push HTML further than the W3C was able to do at that time (HTML5) - 2019 – these orgs have committed to merging efforts! HTML CSS JS
  • 8. pcninja.com – just an amazing google search here
  • 9. statcounter.com – great browser usage reporting engine
  • 10. html5rocks.com – Webkit (Safari, 2011)
  • 12. The hierarchy of the document Document Object Model (DOM)
  • 13. What is HTML - HTML Defines the structure and order of the web page (DOM) HTML CSS JS
  • 14. What CSS does - CSS styles the structure by applying attributes directly to “selectors” HTML CSS JS
  • 17. Responsive design / @media queries https://developers.google.com/web/fundamentals/design-and-ux/responsive/
  • 18. CSS Design frameworks - Bootstrap – open sourced by twitter - https://getbootstrap.com/ - describes their visual language for presenting interfaces - Many (too many) have adopted it as a replacement for design variability - Canvas is built on this for example - Clean defaults + basic javascript elements HTML CSS JS
  • 20. CSS Abstraction - SASS - Sass is the most mature, stable, and powerful professional grade CSS extension language in the world. - https://sass-lang.com/ - personal note: I’m not a huge fan of languages that MUST be preprocessed in order to work. I’d recommend learning css long before SASS however, there are many who make a living just doing this so it’s legit. HTML CSS JS
  • 21. The “Script” part in JavaScript is - What immediately complicates the web - Leads to heavy abstractions and people leveraging libraries in order to write less code but do more - jQuery != JavaScript (though extremely popular) - $ is a dead give away of jQuery - Popular with those getting started - https://jquery-tutorial.net/introduction/hello-world/ HTML CSS JS
  • 22. What JavaScript screws up makes possible - JavaScript allows for applying scripting and interactivity to the HTML structure to dynamically modify the DOM / HTML HTML CSS JS
  • 24. JavaScript CDNs are popular - Javascript loaded via a “CDN” content delivery network Security Time
  • 25. JavaScript CDNs are popular - Javascript loaded via a “CDN” content delivery network Security Time
  • 26. JavaScript CDNs are popular an attack vector - JavaScript loaded via a “CDN” content delivery network - Web pages are as secure as the JavaScript loaded into them. - XSS – Cross Site Script Attacks are legit things to worry about and often not terribly complicated to execute Security Time
  • 29. CDNs are amazing though, don’t mistake - CDNs must be from trusted source - All modern businesses leverage CDNs - CDNs serve content faster then traditional server methods - Faster content === more business - We’ll talk more about CDNs in the future - https://www.youtube.com/watch?time_continue=8&v=QCEid2WCszM Security Time
  • 30. Let’s Hack Penn State Ok well.. Not really.
  • 31. The hierarchy of the document Document Object Model (DOM)
  • 32. The hierarchy of the document Document Object Model (DOM)
  • 33. The hierarchy of the document Document Object Model (DOM)
  • 34. The hierarchy of the document Document Object Model (DOM)
  • 35. Useful links / learning more - https://www.quackit.com/html/tutorial/ - Google HTML or CSS cheat sheet - Learn HTML in 12 Minutes https://www.youtube.com/watch?v=bWPMSSsVdPk - search https://codepen.io/ for tutorial - https://caniuse.com – Spec search - Mozilla JavaScript basics https://developer.mozilla.org/en- US/docs/Learn/Getting_started_with_the_web/JavaScript_basics HTML CSS JS
  • 36. Prep - Week 5 Topic: Content Management Systems via Reclaim Hosting Looking ahead Bryan Ollendyke [at]btopro
  • 39. What we’ll do now - Mess with Inspector to modify psu.edu - Play with and explore CodePen.io - Fork a pen of mine that we’ll step through together - Ask questions, this is just a foot in the door to this topic and we’ll be exploring other technologies and related platforms as the semester progresses HTML CSS JS
  • 40. Lab - Start modifying a pen to reverse engineer a resume boilerplate - Fork Reflection Pen - write your reflection post there - add a link to your video response there Reflection topic (pick at least one) - Explaining styling an element in CSS - Explain how to use JavaScript and getElementById to add a click event to an element in an existing codepen - Value of CodePen as a platform CodePen.io
  • 41. Quick break and then.. CodePen Editing and understanding code pen HTML CodePen.io Bryan Ollendyke [at]btopro

Editor's Notes

  • #3: Icon created by Creative Stall from the Noun Project
  • #7: Icon created by Creative Stall from the Noun Project
  • #9: Icon created by Creative Stall from the Noun Project
  • #10: Icon created by Creative Stall from the Noun Project
  • #11: Icon created by Creative Stall from the Noun Project
  • #12: Icon created by Creative Stall from the Noun Project
  • #13: Icon created by Creative Stall from the Noun Project
  • #31: Icon created by Creative Stall from the Noun Project
  • #32: Icon created by Creative Stall from the Noun Project
  • #33: Icon created by Creative Stall from the Noun Project
  • #35: Icon created by Creative Stall from the Noun Project