How to add CSS?

For exercises with CSS you have to use Internal CSS1 in Dodona, because with Dodona you can only send one file per submission. For other assignments it’s best to use External CSS2.

Documentation

Use these sources to find the correct CSS-properties:

If the problem contains hints, they will point to that website as well.

HTML render

There is sometimes a difference between the HTML render on Dodona and locally on your computer. Because the CSS properties of Dodona are inherited by your submission, your submission will get the Dodona lay-out when it isn’t actually intended to. A fix is in the works, but please note that the render is for informational purposes only. The * judge* only looks at the HTML and CSS and does not compare visually.

Remark

Only use a class or id if explicitly requested. All other adjustments must therefore be made without adding a class or id.