table,td{
    border: 1px solid black;
    border-collapse: collapse;
    width: 500px; /*esta propiedad solo se aplica a la tabla*/
    height: 50px; /*esta propiedad solo se la aplica a los objetos de tipo td*/
}

tr:nth-child(even)
td:nth-child(even),
tr:nth-child(odd)
td:nth-child(odd) {
    background-color: #fece9e;
}

tr:nth-child(odd)
td:nth-child(even),
tr:nth-child(even)
td:nth-child(odd) {
    background-color: #d18b47;
}