Expected end of value but found ' , ' .Expected RBRACE at line 13, col 36


Lesson# 25. Size and borders

Here is the error code:

Oops, try again. Did you remember to add an image?

Here is my CSS selector, value and property:

img {
border: 1px, solid, #4682b4;

When I hover the mouse over the line, it gives me the subject message:

Expected end of value but found ' , ' .Expected RBRACE at line 13, col 36.

I've tried resetting the zoom, changing browsers and searching for the correct code on W3Schools, with no progress.

Please assist someone,



Replace this line with your code.


This selector rule is missing the closing curly brace.


Thanks for getting back to me so soon Roy! I closed the curly brace and
received the following:

Oops, try again. Did you remember to give your image a 1px solid #4682b4

j. wilby


Here is the link: https://gist.github.com/5eaa997f221866e3de097e044a1f3cb3

j. wilby


A link to the exercise would be a little more helpful, although in this case I'm not sure what to suggest. Your CSS looks alright. This isn't one of those lessons that fails in one browser and not in another, is it?


Good morning, no I tried it in both Chrome and Firefox and the same error
occurs. Here is the link(s):





j. wilby


We still need a link to this exercise, please.


Looks fine to me. Anything wrong with the lesson?


Good morning, I did send the link, here it is again:


Also, here is the Index.html link if needed:

j. wilby


Here is the exercise link: https://gist.github.com/b095c0e05b1dd4acc93e8329bbbb047a


The lesson seems to be stuck on generating the error message. Here is the link:


We don't need the link to the Gist, but the actual exercise page.


If you mean the link in the browser, here it is:





This lesson seems to allow a lot of leeway. Could just be the invalid HTML that is causing it to fail...



@coder609gmail.com Did you set your image's height and width using CSS?

Also, the div that contains your image link needs some work.
1. Following the word div you need class="name" (where name of class matches the selector in the CSS tab).
2. After class="name" you need a >

Without #2 your div won't work at all. And without #1 it won't be detected by the CSS sheet.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.