Ask coding questions

← Back to all posts
Divs Sliding In From The Sides
ErrorAtNight (2)

Hi!
@CodingCactus

I got inspired by CC's portfolio to make my own.

For now, I copied his code (and gave credit) for the divs sliding in from the sides, but they don't...

I don't know why!

P.S I will change the colors a lot cause green and dark don't go together!

Thanks!

Comments
hotnewtop
ErrorAtNight (2)

Hello? @CodingCactus

Please help!

Thanks!

ErrorAtNight (2)

But I copied all the code... Why does it not work?

@CodingCactus

CodingCactus (4171)

@ErrorAtNight you need to put the divs in <main> if you are exactly copying the code

ErrorAtNight (2)

No... I changed the code for that... Pls look at my script.js

@CodingCactus