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


#1

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,

Thanks,

coder609


Replace this line with your code.


#2

This selector rule is missing the closing curly brace.


#3

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
border?

j. wilby


#4

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

j. wilby


#5

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?


#6

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

Index.html:

Stylesheet.css:

Thanks,

James

j. wilby


#7

We still need a link to this exercise, please.


#8

Looks fine to me. Anything wrong with the lesson?


#9

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

Stylesheet.css

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

j. wilby


#10

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


#11

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


#12

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


#13

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

https://www.codecademy.com/courses/web-beginner-en-TlhFi/4/4?curriculum_id=50579fb998b470000202dc8b

Thanks,

jw


#14

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

<div

#15

@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.


#16

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