Your Name
Press the "F" key to enter Full screen mode.
And "Esc" to exit.
Press "?" for help.
This paragraph is for authentic pug Thundercats, lomo distillery PBR literally kitsch you probably haven't seen.
<!-- Slide -->
<section>
<h2>Header 2</h2>
<h3>Header 3</h3>
<h4>Header 4</h4>
<p>
This paragraph is for authentic pug Thundercats, lomo
distillery PBR literally kitsch you probably haven't seen.
</p>
</section>
class=fragment
<!-- Slide -->
<section>
<h2>Building a Bullet List</h2>
<p class=fragment><code><b>class=fragment</b></code></p>
<ul>
<li class=fragment>HTML5</li>
<li class=fragment>CSS3</li>
<li class=fragment>JavaScript</li>
</ul>
</section>
Type | Example |
---|---|
Boolean | true |
String | 'Hover over me!' |
π | 3.14159265 |
<!-- Slide -->
<section>
<h2>Data Table</h2>
<table>
<thead><tr><th>Type</th><th>Example</th></tr></thead>
<tbody>
<tr><td>Boolean</td><td><code>true</code></td></tr>
<tr><td>String</td> <td><code>'Hover over me!'</code></td></tr>
<tr><td>π</td> <td><code>3.14159265</code></td></tr>
</tbody>
</table>
</section>
To display HTML code,
encode
the HTML and place into:
<pre><code class=language-html>
<p>My website:</p>
<pre><code class=language-html>
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Example Website</title>
</html>
<body>
<h1>Example Website</h1>
</body>
</html>
</code></pre>
My website:
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Example Website</title>
</html>
<body>
<h1>Example Website</h1>
</body>
</html>
To display JS with syntax highlighting, place the code within:
<pre><code class=language-javascript>
const fibLookup = [1, 1]; //memoization cache
const fibonacci = (n) => {
while (fibLookup.length < n)
fibLookup.push(fibLookup.at(-1) + fibLookup.at(-2));
return fibLookup[n - 1];
};
console.log('Fibonacci of 100 is:', fibonacci(100));
🚀 🔥 🍖 🍄 🦋 🚁 🌊 🦄
<!-- Slide -->
<section>
<h2>Down Arrow & Unicode Emojis</h2>
<div class=down-arrow></div>
<p>
<em>🚀 🔥 🍖 🍄 🦋 🚁 🌊 🦄</em>
</p>
</section>
Create an assets
folder for your local image files,
and use the data-width
attribute to adjust the image size.
<!-- Slide -->
<section>
<h2>Images</h2>
<img data-width=20% src=assets/js-logo.png alt=logo>
<p>Create an <b><code>assets</code></b> folder for your local...</p>
</section>
Choose File ⇒ Share ⇒ Publish to the web ⇒ Link...
<!-- Slide -->
<section>
<h2>Google Drawings</h2>
<img class=full alt=diagram
src="https://docs.google.com/drawings/d/e/.../pub?w=1971&h=641">
Choose <b>File ⇒ Share ⇒
Publish to the web ⇒ Link...</b>
</section>
<!-- Slide -->
<section>
<h2>Chart.js</h2>
<figure>
<figcaption>Highest Mountain Peaks by U.S. State</figcaption>
<canvas id=peaks-chart></canvas>
</figure>
<script>
const peaks = [
{ name: 'Denali', state: 'Alaska', elevation: 6190 },
{ name: 'Mount Whitney', state: 'California', elevation: 4421 },
...
];
const states = peaks.map(peak => peak.state);
const elevations = peaks.map(peak => peak.elevation);
const peakLabel = (value, context) =>
`${peaks[context.dataIndex].name}\n${value.toLocaleString()} m`;
const peaksDataset = {
label: 'Elevation (meters)',
data: elevations,
backgroundColor: 'teal',
datalabels: { display: true, formatter: peakLabel, color: 'goldenrod', ... },
};
const peaksChart = {
type: 'bar',
data: { labels: states, datasets: [peaksDataset] },
options: {
scales: {
x: { ticks: { font: { size: 20 } } },
y: { ticks: { font: { size: 25 } }, beginAtZero: true },
},
},
};
new Chart(document.getElementById('peaks-chart'), peaksChart);
</script>
</section>
🐢
🦬
🦉
🦙
🐘
Wrap slides in another <section>
tag.
<!-- Vertical Slides -->
<section>
<!-- Slide -->
<section>
<h2>Top Slide</h2>
<p>This slide displays like normal.</p>
</section>
<!-- Slide -->
<section>
<h2>Bottom Slide</h2>
<p>Hit the down arrow key to show this slide.</p>
</section>
</section>
Is Australia the world's smallest continent
or
the world's largest island?
Press the Enter
key to reveal the slide's speaker notes.
<!-- Slide -->
<section>
<h2>Speaker Notes</h2>
<p>Press the Enter key to reveal the slide's speaker notes.</p>
<aside class=notes>
<p>Important extra information in paragraph #1.</p>
<p>Important extra information in paragraph #2.</p>
<p>Important extra information in paragraph #3.</p>
</aside>
</section>
Press the backtick (`
) key to reveal
additional sample slides that are hidden using:
<section data-visibility=hidden>
<!-- Slide -->
<section data-visibility=hidden>
<h2>Framed</h2>
<img src=https://i.chzbgr.com/full/5248955648/hA52D8A65
class=framed data-width=45% alt=cat>
</section>