8/13 Electr(on)ic Slide CSS Bug, Workaround!


I'm pretty frustrated...hopefully this will save others.

The CSS bug was mentioned in another post but it needs to be fixed! Also I have a workaround so people don't get stuck.

The CSS file doesn't work (can't access it), so I'm running the code in problem 9 because it's basically a sandbox. Try code below.

You need to add "display: none" to your div CSS code so that it will be able to slide down. It can't just slide down if it's already on the page.


<!DOCTYPE html>
        <script type="text/javascript" src="script.js"></script>
        <link rel="stylesheet" type="text/css" href="stylesheet.css"/>


    display: inline-block;
    background-color: blue;
    display: none;


$(document).ready(function() {


Thanks for putting that together J. Preciate that.


Been stuck on this lesson for ages, thank you.


8 posts were split to a new topic: Why Does This Not Work in a Normal Browser?


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.