Created
March 23, 2024 09:37
-
-
Save popdemtech/cae8ead728f0bff4b9c367aeffbac67b to your computer and use it in GitHub Desktop.
Distributable application using web technologies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>this is a page with a link to the other page</p> | |
<a href="other.html">other page</a> | |
<p>there is a javascript added which increments this number</p> | |
<div id="number">0</div> | |
<script src="js.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
number = document.getElementById('number'); | |
setInterval(() => { | |
val = number.innerText; | |
numberVal = Number(val); | |
newVal = numberVal + 1; | |
number.innerText = newVal; | |
}, 1000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>this is the other page with a link to the index page</p> | |
<a href="index.html">index page</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just a reminder that technology doesn't have to be as complicated as finding hosting for a static site or setting up a desktop app with Electron or whatever. Software distribution, fundamentally, is providing functionality. Every computer owner has access to an internet browser. If the functionality being distributed can be as simple as zipped up html files, you can simply send over zipped up html files.
Tell the receiver to open the file in their browser. Keep it simple