Can you use CSS with Gmod's DHTML, and how do I send Lua code via Javascript?

I am an absolute beginner at Lua, but I got pretty good experience with web development. I’ve done research, and this is what I got so far.

I know the onclick is used completely wrong, but I want it to activate the Panel:Remove() function on itself. Also I can’t seem to find anything relating to CSS (Cascading Style Sheets) on Google.

Any help would be well appriciated. Thanks! :smiley:

Eh, for CSS just use <style> tags in HTML itself. For JS-Lua interop look here:, it even has an example.