why I am not passing in this… Is there any mistake in this code??
Your code so far
<style>
body {
background-color: black;
font-family: monospace;
color: green;
}
.pink-test{color:pink;}
</style>
<h1 class="pink-test">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/80.0.3987.162 Safari/537.36
.
Challenge: Prioritize One Style Over Another
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Sky020
April 3, 2020, 11:09am
2
Welcome, mohitkd.
The instructions say:
Create a CSS class called pink-text
Now have a careful look at what you have written…
Hope this helps
1 Like
but i already created a class!!!
Sky020
April 3, 2020, 11:14am
4
I realise that. You have a typo in your code. Read carefully.
I am not getting it please tell me where is the mistake!!
flamey
April 3, 2020, 1:41pm
7
the typo was the period before pink-text right🤔
Roma
April 3, 2020, 1:50pm
8
@flamey , short answer, no. A period is for a class
, the pound sign is for an id
.
Since the OP has found and corrected the problem the typo was that they had ‘pink-test’ while the lesson said to use ‘pink-text’
2 Likes