mirror of
https://github.com/jbowdre/lolz.git
synced 2024-11-09 16:12:19 +00:00
web: typo tweaks
This commit is contained in:
parent
5fddecee5e
commit
f8045a9ba6
2 changed files with 9 additions and 11 deletions
2
web.md
2
web.md
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<span class="kudos">Hi!<button class="tinylytics_kudos"></button></span>
|
<span class="kudos">Hi!<button class="tinylytics_kudos"></button></span>
|
||||||
|
|
||||||
<div style="height: 5rem;"><span id="typo" data-typo-chance="2" data-typing-delay="40" data-typing-jitter="20">I write code to make imaginary computers run code written by less imaginary developers</span></div>
|
<div style="height: 5rem;"><span id="typo" data-typo-chance="2" data-typing-delay="40" data-typing-jitter="20"></span></div>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,14 @@
|
||||||
<script src="https://tinylytics.app/embed/QUH6xcnWKYeUUYaMkDKd.js?kudos=👋" defer></script>
|
<script src="https://tinylytics.app/embed/QUH6xcnWKYeUUYaMkDKd.js?kudos=👋" defer></script>
|
||||||
<script src="https://cdn.jbowdre.lol/typo.js"></script>
|
<script src="https://cdn.jbowdre.lol/typo.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
// implement typo
|
||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
let element = document.getElementById('typo');
|
||||||
|
let text = "I write code to make imaginary computers run code written by less imaginary developers";
|
||||||
|
typo(element, text);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
// get weather data from pastebin
|
// get weather data from pastebin
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
const hasWeather = document.getElementById('conditions');
|
const hasWeather = document.getElementById('conditions');
|
||||||
|
@ -145,13 +153,3 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<script>
|
|
||||||
// implement typo
|
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
|
||||||
var element = document.getElementById('typo');
|
|
||||||
var text = element.innerHTML;
|
|
||||||
typo(element, text);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue