0% found this document useful (0 votes)
27 views

Lecture6 PDF

This document discusses various topics related to web programming with Python and JavaScript including single-page apps, the HTML5 History API, the window object, JavaScript templates, CSS animations, and SVG. It specifically mentions using the HTML5 History API to modify the browser URL without reloading the page by leveraging methods like pushState and handling the onpopstate event. It also outlines several CSS animation properties like animation-name, animation-duration, and animation-iteration-count.

Uploaded by

Moudi Mouhamadou
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Lecture6 PDF

This document discusses various topics related to web programming with Python and JavaScript including single-page apps, the HTML5 History API, the window object, JavaScript templates, CSS animations, and SVG. It specifically mentions using the HTML5 History API to modify the browser URL without reloading the page by leveraging methods like pushState and handling the onpopstate event. It also outlines several CSS animation properties like animation-name, animation-duration, and animation-iteration-count.

Uploaded by

Moudi Mouhamadou
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Web Programming

with Python and JavaScript


Single-Page Apps
HTML5 History API
HTML5 History

/third

/second

/first
HTML5 History

/second

/first
HTML 5 History

• pushState
• onpopstate
window
window

window.innerHeight

window.innerWidth
window
window.scrollY

window.innerHeight

window.innerWidth

document.body.offsetHeight
JavaScript Templates
CSS AnimaDon
CSS AnimaDon ProperDes

• animation-name
• animation-duration
• animation-iteration-count
• animation-fill-mode
• animation-play-state
• ...
SVG
Web Programming
with Python and JavaScript

You might also like