Getting Grid to work using margin/flex

I have Grid working, I have Float working.

Now I’m going to try and get it to work using, Margin,

And Flex:

Both of which are not great to use which I know, but I like figuring things out.

I have 1 issue.

1.) the playbutton isn’t showing.

This now no longer works in the code:
document.querySelector(".playButton").click();

Which will make it harder.

Web Console Says:
TypeError: button is null

Which doesn’t make sense.

margin: cube working

flex: cube working

Only the playbutton isn’t showing.

Let’s do the margin one first because flex is having some issues currently.

Web Console Says:
TypeError: button is null

Which doesn’t make sense.

Fixed:

div tag was in the wrong spot.

1 Like

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