showing results for - "javascript examples"
Jean
14 Nov 2017
1// store input numbers
2const num1 = parseInt(prompt('Enter the first number '));
3const num2 = parseInt(prompt('Enter the second number '));
4
5//add two numbers
6const sum = num1 + num2;
7
8// display the sum
9console.log(`The sum of ${num1} and ${num2} is ${sum}`);
Lukas
04 May 2020
1var one = 1
2if (one >= 1) {
3    console.log("CHANGE VAR TO 0")
4 }
Nicola
25 Jul 2016
1num1 = 34
2num1+22
Jana
26 Mar 2016
1var c = 23;
2Console.WriteLine(c);
queries leading to this page
javascript simple example programssample javascript codeexamples of jsjavascript html exampleexamples of js codeexample html javascriptjavascript js exampleexample js scriptjavascripte example programsjava script simple examplessimple program in javascript javascript code samplejavascript simple examplesimple javascript example codesimple jsjsc examplesimple javascrip codejavascript web examplesexample jsjavascript codeexample program in javascripthtml sample code with javascriptsimple javascript js code examplesexamples javascript 22 js codewhat is javascript with examplegood javascript code examplesbasic javascript examplesjavascrip code examplejavascript codesjavascript program examplejavascript examplecode js exampleexample in jssome basic javascript examples on javascriptjavascript examplesjavascript interactive examplesjavascript coding examplebasic example of javascriptjavascript website codejavascript example code with 24javascript codsimple javascript and html programmssimple js code examplejavascript with examplesimple java script code 3f example javascsriptjavascirpt codeexamples of javascript programshtml javascript exampleexamples html javascriptsbasic javascript code examplesjs 40examplejava script code 5cjs examplesjavascript sample codeexample js codejs example programssample code in javascriptexample on jswscript jscript exampleshtml with javascript example programssimple javascript programcode javascript examplejavascript codes examplesjavascript examples with codejs samplesample examples in javascriptjavascript page examplejavascript code example with 24website js examples example in jssample in javascriptcode example javascriptjava script examplesjs simple programmjavascript basic codejs basic programsjs script sample codejavascript program examplesjs example 5cexample code javascriptinteractive javascript examplesbasic js exampleexample javascript codesimple javascript codesimple example of javascriptjavascript script examplejavascript with examplejava script sample codesimple javascript examplesjavascript coding examplesexample javascript program codeexamples of javascriptjavascript simple program in htmlexample in javascriptsimple js codesample javascriptjavascript in java examplejavascript java examplecode jsjavascript example codejavascript sample of html codeexample html code with javascript 3f 3f in javascript example js code sampleexample of javascript codejavascript example jsexample to code in jsjavascrip codeexample code in javascriptjavascript basic codesjavascript sample programsjs code samplejava javascript examplejs program examplebasic javascript codecode with example program javascriptrjavascript code examplejscript code examplejavascript examplesjavascript code samplejavascript sample codesjavascript code examplessample code in jsjavascript example program javascript sample code examplesjs example codejavascript code examplesimple js examplesample js codebasic java scrpit codejavascript examplkejavascript demoexample jsscript js exampleexample of basic code of javascriptjavascript simple programjava script examplejavascript clodejs script examplejs examplesimple example jsbasic javascript examplescript javascript examplefull javascript website codejavascript 25 ejamplejavascript simple programsjavascript example programsjavascript simple code exampleshow to write javascript code for beginnersjavascript examples about thisjavascript basic examplecreate js examplejavascript programming examplesexample javascript 40example in jsjavascript programs examples simple code for javascriptsimple javascript program with explanationhtml js exampleexample javascript programjavascript syntax examplesjavsscript sample codebasic javascript code for examplejavascript simple codebasic js codejs code examplejscript examplejava script simple programsexample of javascript programjavascript example htmlsimple javascript programsjavascript examples comjavascript examples