2.The Document Object Model


#1

Hi.
I don't understand instructions(hint)
Where in the code should i put div()?
thanks.


#2

My question is: where in code should I put the line as below(from hint)?

$('p').fadeOut(1000); probably p need to change on div $('div').fadeOut(1000);

Were in code should be put the line as above/need to do something differently?


#3

tatyana_pol check at the top of the page, there are three links: index.html, stylesheet.css, and script.js. you need to open the script.js where you're suppose to write the code.

hope this help.


#4

It was helpful.
thanks.


#5

What is wrong with code below from topic "Changing targets"?
thanks.

$(document).ready(function() {
$(#green).fadeOut(1000);
});


#6

@tatyana_pol You need quotes around #green, but inside the parenthesis (()).


#8

This topic is inactive