Java Script/Basic Code

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search

Revision as of 00:17, 9 March 2013

Confirm pop-up (with ok or cancel response)

confirm("I feel awesome!");

Input prompt pop-up

prompt("Enter your name:");

Print out values for each line of code

console.log()

Information pop-up

alert("")
Data Sets
numbers (3, 42, etc)
strings ("This is a string", "42", "is also a string")
Booleans
true or false statements, such as (7<10) or (10<7)
if/else
used to send code down different paths
if( condition) {
    code code code;
} else {
    code code code;
}
var
variable that can be determined or given
 var MeaningofLife = 42
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Open Source Products
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
MagicMirror
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
Politics
Volkswagen
Covid
NCDMV
Toolbox