Slide 8/13 Looks Right to Me, but Getting Error Message


#1

I've entered the requested information in the script.js page, but it continually gives me the error message "Oops, try again. Did you put .slideDown() after $('div') ?"

Here's the code I entered.
$(document).ready(function(){
$('div').slidedown('slow');

});

I even looked at the hint and when I look at it I can't see any difference. Can somebody help me see my error.

Thanks.


#2

@sadaajit,

Have a close look at

slidedown


#3

Thank you so much. I didn't know I needed to capitalize anything. All these little things when trying to learn something new. Now I got the go ahead to move on in the course. I don't think I ever would have seen that on my own, because I haven't used capitals in HTML and CSS so it didn't even cross my mind. I'll have to put on my super-scrutinizing glasses from now on!


#4

@sadaajit,
As a little hint:
In javascript they like to use the so-called camel-style of writing variable and method =names=

like carFactoryEntranceSecurityMeasures

Read the code-conventions

Reference

google search
== the Book ==
javascript [your question] site:developer.mozilla.org

== discussions / opinions ==
javascript [your question] site:stackoverflow.com

== guidance ==
www.crockford.com
http://javascript.crockford.com/code.html <---JavaScript code-convention
http://javascript.crockford.com/survey.html
https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
www.developer.mozilla.org/en-US/docs/Web/JavaScript/Guide


#5

@sadaajit,

google search
== the Book ==
jquery [your question] site:developer.mozilla.org
CSS [your question] site:developer.mozilla.org
javascript [your question] site:developer.mozilla.org
[your question] site:jquery.com
[your question] site:getbootstrap.com

== discussions / opinions ==
jquery [your question] site:stackoverflow.com
CSS [your question] site:stackoverflow.com
javascript [your question] site:stackoverflow.com

== guidance ==
www.crockford.com
[your question] site:crockford.com
- - http://javascript.crockford.com/code.html << Javascript code-conventions
- - http://javascript.crockford.com/survey.html

http://stackoverflow.com/questions/1795438/load-and-execution-sequence-of-a-web-page


#6

Thanks for all the information in the last two replies. I'm a coding newbie and any help I can get understanding everything is greatly appreciated. I'll give all these links a good looking over and probably bookmark most of them for future reference.


#7

you need slideDown you have slidedown , capital D