Lesson 8-9 I fail and I fail to see why


#1

OS X El Capitan Version 10.11.2
Browser Version 48.0.2564.97 (64-bit)

Lesson 8
confirm("Is this working?");
confirm("Are you sure you are not broken?");
output error message

Lesson 9
prompt("What is your Name?");
prompt("What is Ubuntu?");


#2

Does a pop-window open in your browser?


#3

I skipped it and moved on. I might have a missing semicolen or something. I'll paste it into sqlint.com and see once I figure out how to get back to that problem.


#4

even m also faceing same problem in lesson 8


#5

please post your code


#6

prompt("What is your name?");
prompt("What is Ubuntu?");

^ this is what my code is within the template and i cannot understand why its failing.. i even copied the example exactly


#7

It's a browser issue! code fails in firefox, but when I paste the exact same code into chrome it works!


#8

Hey guys.

I think this is a browser issue where it responds false without prompting you. If you type 'true' after the semicolon, it should work. At least, it did for me.

Ex.
confirm("I feel awesome!");true