Closed Bug 1287206 Opened 9 years ago Closed 9 years ago

Bug in CSS and Javascript tutorial setting backgroundColor

Categories

(developer.mozilla.org Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1284781

People

(Reporter: kerry.ruddock, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 Steps to reproduce: At this page: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/JavaScript There is an iframe with the heading of Javascript Sample, an empty div with an Id of "square", and a button. When you click on the button the background-color changes. However there are 2 tutorial links to this exercise in codepen and in jsfiddle that do not work correctly in either link. Actual results: The codepen and jsfiddle links to not display the empty box and clicking on the button does not do anything. Expected results: The code in the tutorial links should behave the same as the code in the iframe
Different page, but same root cause as bug 1284781.   is not being converted correctly in CSS samples. If spaces are manually fixed in CodePen, the samples work.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.