Atributo Id no prevalece a la class

    1. List item

Tell us what’s happening:
He creado el id en estilo y lo he incorporado al Elemento pero prevalece la información de Class
al ejecutar prueba, me dice que todos los pasos son correctos pero el última da error porque no aparece naranja el texto.

  **Your code so far**

body {
  background-color: black;
  font-family: monospace;
  color: green;
#orange-text {
  color: organge;

.pink-text {
  color: pink;
.blue-text {
  color: blue;
<h1 id="orange-text" class="pink-text blue-text">Hello world!</h1>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

Challenge: Override Class Declarations by Styling ID Attributes

Link to the challenge:

Welcome to the forum.

You have misspelled the word “orange” here. When I fix that, your code passes for me.

You are right! thanks!

1 Like

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