9.Borders (CSS) need help


<!DOCTYPE html>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>

* {
    border: 1px dashed black;

div {
    height: 50px;
    width: 100px;
    border: 2px solid black;
    border-radius: 5px;
    background-color: #308014;
    margin: 20px 50px 10px 5px;

Error: Oops, try again. It looks like your border-color isn't #FF0000.
( i press strg and 0 (no soom ))
so what is wrong ? What have i to change ?


These are the instructions :

Change your div's border to 4 pixels wide and solid, with the hex color #FF0000.

you have to change border color of div .. like this..

border: 4px solid #ff0000;


thx, works :slight_smile:


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