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

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Write the CSS

cant figure out border and border radius

in the html <img src= http://placeimg.com/200/200/tech alt="Adam Fields Web Developer" class="image"> CSS .image{ border:solid 4px black; border-radius:50% } cant figure out what Im doing wrong, everytime I refresh nothing changes. All help would be appreciated. Thank You

3 Answers

Thank You I figured it out forgot to nest my code

In css part try this: .image { border: 4px solid blck; border-radius: 50%; } and if wanna make that image circular you have to make its height and width to equal like this : .image { height; 300px; width: 300px; border: 4px solid blck; border-radius: 50%; }

Hello!

The source of the image must be in double quotes, like this:

<img src="http://placeimg.com/200/200/tech">

Also, make sure you referenced the CSS file in the index.html file.
If you could create a snapshot of your Workspace it would help us figure out the issue faster.