Stuck in Tutorial Hell? Learn Backend Dev the Right Way
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
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