Simple HTML input, JavaScript output number adder
A web browser, and optionally Python installed for running a local web-server.
Clone this project...
Linux/MacOS
mkdir -vp ~/git/hub/web-dev-examples
cd ~/git/hub/web-dev-examples
git clone git@github.com:web-dev-examples/number-adder.git
Windows
set _organization_directory="%HOMEDRIVE%%HOMEPATH%\git\hub\web-dev-examples"
if not exists %_organization_directory (
md %_organization_directory
)
CD /D %_organization_directory
git clone git@github.com:web-dev-examples/number-adder.git
-
Fork this repository to an Account or Organization that you have write permissions to.
-
Add the fork URL to the list of Git remotes...
Linux/MacOS
_account="your-name"
git remote add fork "git@github.com:${_account}/number-adder.git"
Windows
set _account="your-name"
git remote add fork "git@github.com:%_account%/number-adder.git"
- Public demo of Fork URL syntax
https://<account-name>.github.io/number-adder
- Run
server.py
script...
./server.py
-
Navigate to
localhost:8080
-
Edit an
index
file and save changes -
Refresh browser to view changes
-
Commit the changes that are worth saving...
git add index.*
git commit -m 'Fixes something or adds nifty feature'
- Push changes to your fork...
git push fork number-adder
This repository is intended to be a simple yet fully functioning example of HTML, CSS, and JavaScript web development. Pull Requests that fix bugs are very welcome, however, please keep in mind that the goal of this repository is to be accessible to all developer levels.
Documentation for simple HTML input, JavaScript output number adder
Copyright (C) 2020 S0AndS0
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
For further details review full length version of AGPL-3.0 License.