Jump to content
Search Community

Making a div appear on the screen!

danajcarroll test
Moderator Tag

Recommended Posts

I know this must be super simple, but I'm a complete newb!

 

What I want: A pink box is invisible, then fades onto the screen when one clicks on a button 

 

What it's doing: The pink box is already on the screen, but still does the fade animation when the div is clicked on

 

I'm sure this is probably a simple fix that I'm missing, but I'm really stumped and it's getting disheartening. 

 

Thanks for the help!

See the Pen xxGaWOd by danajcarroll (@danajcarroll) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...