Remove an html element on codepen? [Solved]

Remove an html element on codepen? [Solved]


I need help to remove a html element on codepen when the screen gets a certain size


i’m not sure, but maybe you should read jQuery with flow control, using .remove() function. Good luck tho.


tried that but i figured it out


awesome, would you mind telling me how ?


yea all I did was use a @media query @media only screen and (max-width: 768px) { #albums { display: none; } }
I guess it doesnt remove the element but hides it, which is what I really wanted you can check it out here feel free to test the breakpoint let me know what you think(: