Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

CSS Gradients quiz error?

I believe there's a comma missing in the 'correct' answer of this question:

'In what order should the radial gradient's shape be defined?'

Correct answer is shown as '<position>,<shape><size>'.

But shouldn't there be a comma between those last 2?

1 Answer

I know it's been awhile since you posted this question, but no, there shouldn't be a comma between shape and size. The syntac from w3c shows only a space:

Syntax

background: radial-gradient(center, shape size, start-color, ..., last-color);