Algo no se ve bien. Añadiste un atributo class
con el valor correcto al elemento p
con el texto Donut
, pero aún no has definido un selector.
The CSS rule for the flavor
class already sets the properties you want. Add the dessert
class as an additional selector for this CSS rule.
no me quiere agarrar el codigo ya que lo desarrolle de la siguiente manera
.flavor.dessert {
text-align: left;
width: 75%;
}
edissonpinza98:
.flavor.dessert
You should have a comma between the two selectors, not a dot:
Ex:
.firstclass, .secondclass{}
The best way to post an issue with one of the steps is to click on the ‘help’ button which should appear next to the rest button after unsuccessfully submitting your code a few times:
This way both your code and a link to the step will appear in your post.
no me coje ningun codigop
English? (This post must be at least 20 characters )
.Donut,Pumpkin Spice{
text-align: left;
width: 75%;
}
When you target a class you should began with a dot. Make sure to place a dot before your dessert class:
.dessert
si te fijas bien tiene un punto
.Caramel Macchiato.Donut {
text-align: left;
width: 75%;
}
.Caramel Macchiato, Donut {
text-align: left;
width: 75%;
}
ningun codigo me coje
En lugar de apuntar a un sabor y postre individual por su clase, desea apuntar a todos a la vez usando .flavor y .dessert como selector en lugar de:
Should be:
.flavor, .dessert{}
Hola.
Este tema hubiera estado mejor en el subforo de html (y mejor aún en el subforo de html en español)
Pero aún así…
Has probado lo que te dice @anon86258595 en el segundo comentario?
Separa las clases (.dessert y .flavor) por una coma.
De todas las formas, ¿cómo tienes el código ahora? ¿Lo puedes publicar?
Si no te sale, vuelve a preguntar.
Saludos.
system
Closed
February 27, 2024, 9:09pm
14
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.