def multiply(a b)
a*b
end11–20 of 37 posts
def multiply(a b)
a*b
endNice, haven't touched ruby in awhile but glad it's not just me. I was worried when I couldn't troubleshoot a simple multiply function: def multiply(a b) a*b end
def multiply(a, b)
a*b
end
note the comma in paramsThe first Javascript kata fails with an unknown error, even if the code is correct. You probably want to fix this bit too: http://imgur.com/KqYuCHn Also, if your browser window is too narrow it suddenly thinks you're on a mobile device and ceases to work.
I fixed the code, click submit. nothing happens?
no pushstate application-2667ae701c78991056dcdf4c46459327.js:19
Uncaught TypeError: Cannot call method 'replace' of undefined ace.js:1
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.Nice, haven't touched ruby in awhile but glad it's not just me. I was worried when I couldn't troubleshoot a simple multiply function: def multiply(a b) a*b end
def multiply(a, b) a*b end note the comma in params
However I just reloaded the page and it's showing a different code snippet and says 1 of 3 completed.
Earlier quoted context omitted.
Same here (even on Chrome Mac), but I get an "unknown error". But when I switch to coffeescript or ruby, it then shows up that I got the correct answer (in the Earn an Invite section).
Same, that only worked a couple of times for me though (Safari Mac)
I'm glad it's their fault, i was actually getting depressed not finding my error...
Apparently there wasn't a lot of collaboration on the site code itself; as has been mentioned, it's pretty buggy. Or maybe that's the REAL test...
Maybe it's not talking about the function.