Thanks, I had it capitalized in my code, I just didn't type it in the comments correctly. Turns out javascript wasn't working for me in any browser, I had to restart my computer, then delete and remake all my training files from scratch. I don't know what happened exactly.
Bucky i have watched your HTML/CSS tutorials and almost done watching ( and of course understanding ) the javascript tutorials. The reason why i am watching it is because i want to make nice websites with flashing mouse-over and stuff. But you dont seem to take care of that stuff. Could you make a tutorial how to make a nice webpage and then just give the steps 1 by 1?
@dino0x
Thanks, I had it capitalized in my code, I just didn't type it in the comments correctly. Turns out javascript wasn't working for me in any browser, I had to restart my computer, then delete and remake all my training files from scratch. I don't know what happened exactly.
slandshark 2 weeks ago in playlist JavaScript Tutorials Playlist
document.write(math.pi); does not work for me at all. I've checked all of my code about a hundred times, it does not write anything on the screen.
slandshark 2 weeks ago
@slandshark dude, javascript is case sensitive. The correct usage is Math.PI
dino0x 2 weeks ago
can't you make the prompt ON the page and not in a pop up box?
danishMCgamer 1 month ago
E = exponential constant right?
chuganator 1 month ago
Euler is pronounced "Oiler"
u2isoverrated 2 months ago
Finally no more Arrays!
MrBikerking200 3 months ago in playlist Beginner JavaScript Tutorials Playlist
On a side note, Pi's millionth digit is 1 :)
michaeldcurry1 5 months ago 6
Does anyone know how you put code in the YouTube comments? It gives me an error every time I try to put my code in.
michaeldcurry1 5 months ago
@michaeldcurry1 Duh....! Same things happens to me also! :(
ahmadu007 2 months ago
1:02 I only know that pi = 3,1415!
ChocosoftPC 6 months ago
I found this to be useful:
var n = Math.random
if(n>=.5){
document.write(n + " - True");
}
else{
document.write(n + " - False");
}
Lennybird91 8 months ago
fantastico...fogtalk99%
FOGTALK 9 months ago
awesome stuff fogtalk96%
FOGTALK 9 months ago
u should put it in do while !(n*=1) in case they doesn't enter a number
gatoo23 10 months ago
Bucky i have watched your HTML/CSS tutorials and almost done watching ( and of course understanding ) the javascript tutorials. The reason why i am watching it is because i want to make nice websites with flashing mouse-over and stuff. But you dont seem to take care of that stuff. Could you make a tutorial how to make a nice webpage and then just give the steps 1 by 1?
Thanks
dtntnt 10 months ago 42
Man. This is the first time I've run a JavaScript with no typos on the first try. What is wrong with me.
You Rock Bucky!
Fbiman93 10 months ago
:3
xXxDiukexXx 10 months ago
You don't have to make separate variables:
var n = promt("Enter a number");
n = Math.sqrt(n);
will do the same for you as making a new variable answer.
It doesn't matter much at this point, but later on you might want to conserve your variables.
Olafuuur 10 months ago
@Olafuuur Then you won't be able to use original n in alert function. In this example.
DIOGYK3D 10 months ago
@Olafuuur but then the "alert("the sqrt of " + n + " is " + answer);" wont work as n is the answer.
jony1710 10 months ago
Awesome
!
xMadReaperx 10 months ago