CSS CSS Selectors Selectors - Beyond the Basics Attribute Selectors Challenge

Why does it not accept my border-radius?

What's wrong with my code :(? Thanks in advance!

style.css
/* Complete the challenge by writing CSS below */dsaasds
img[title="avatar"] {
    border-radius: 50%;
}
index.html
<!DOCTYPE html>
<html>
<head>
    <title>Selectors</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href='http://fonts.googleapis.com/css?family=Nunito:400,300' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" href="base.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
    <div id="container">
        <form class="form-contact">
        <img src="avatar.png" title="avatar" alt="">

          <label for="un">Username:</label> 
          <input type="text" id="un">

        <label for="pw">Password:</label>
        <input type="password" id="pw">

          <input type="submit" value="Sign up">
        </form>
    </div>
</body>
</html>

2 Answers

KRIS NIKOLAISEN
KRIS NIKOLAISEN
52,796 Points

I pasted your code into task 1 and it passed. Did you receive an error message?

Actually I take that back. You have dsaasds after your comment on line one. I didn't paste that. That should be deleted.

whoops, thanks!! I think I was focusing too much on the 50% 😅