> Most of the times you read something, is on your computer screen, more often than not, in your browser.
\ Otho Mantegazza _ Dataviz for Scientists _ Part 5.0
We have learned that one of the best output of Quarto is a web page.
Combination of elegant and consolidated open standards:
With Javascript you can run code on the front end.
This means that you can build data visualization directly on the reader’s device:
It scales better, looks better, interacts better.
But it takes a lot of code to build a good data visualization with Javascript.
Let’s try.
Use Javascript to change the content of this slides:
Open the browser javascript console.
Make a new variable that stores the string “Ciao!”.
The content of the page was changed only on your device. If you reload it you’ll get the original content back.