Skip to content

web-dev-examples/number-adder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number Adder

Simple HTML input, JavaScript output number adder

Byte size of Number Adder Open Issues Open Pull Requests Latest commits number-adder Demos



Requirements

A web browser, and optionally Python installed for running a local web-server.


Quick Start

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

  • 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

Usage

  • 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

Notes

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.


Attribution


License

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.