Master Production-Ready Machine Learning, Step by Step
Start speaking a new language. It’s just 3 weeks away.
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Learn how to use JavaScript's dataset property to store and retrieve hidden data in HTML elements without displaying it in the browser. Explore the controversy surrounding the Missouri governor's attempt to prosecute a reporter for viewing HTML source code. Discover techniques for encoding and decoding HTML, including creating a custom decoding function and using the 'he' package for easier implementation. Gain insights into the practical applications and potential legal implications of working with hidden data in web development.
Syllabus
Intro
Welcome
The Backstory: Illegal Source Code in Missouri?!
Why and how to store hidden data in HTML elements
How to retrieve data from a dataset with Javascript
Can we really "decode the HTML"?
Creating a decode the HTML function
An Easier Way: the he package
Taught by
Dave Gray