HTML, P5, and Material Design

I’m trying to follow this code https://codepen.io/katehummer/pen/jOyGzJp to create a carousel of instructions for the virtual installation I’m creating, but when I tried adding a new card to the list, it inserted it underneath the first one instead of horizontally in line with the carousel. Any idea what code to edit to get it in line with the rest?

Hi,

The link sent is from the author’s original code but with only a description, we can’t really see what’s wrong with yours. :wink:

It could be a CSS or JavaScript error… Can you send a link (codepen for example) so we can see your code?

Also note that your question is more on web development rather than p5js and the library and it might not be the best forum to post on :yum:

Hi! Here’s my code: https://codepen.io/karenmani/pen/BaprVrV