2.The Document Object Model


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


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?


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.


It was helpful.


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

$(document).ready(function() {


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


This topic is inactive