ychris
September 10, 2020, 1:27pm
1
Tell us what’s happening:
Your code so far
<style>
.red-text {
color: red;
}
p {
font-size=16px;
zoom=100%
}
</style>
CatPhotoApp
purr jump eat the grass rip the couches
kitty ipsum dolor sit amet
<h2 class="red-text">CatPhotoApp</h2>
<main>
<p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
<div>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
</div>
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
<label><input type="checkbox" name="personality" checked> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Energetic</label><br>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36
.
Challenge: Change the Font Size of an Element
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.
dnuanez
September 10, 2020, 1:32pm
2
Within your “p” tag, you dont use a “=” but a “:” instead, similarly to how you put
color: red;
previously.
Try this;
p { font-size: 16px; }
ychris
September 10, 2020, 1:49pm
3
I have tried it the same way you ask me to but still not working which way should I follow please
dnuanez
September 10, 2020, 2:38pm
4
Your code should look like this
<style>
.red-text {
color: red;
}
p {
font-size: 16px;
}
</style>
1 Like
ychris
September 10, 2020, 2:16pm
5
Tell us what’s happening:
Your code so far
<style>
.red-text {
color: red;
}
p{font-size:16px; browser: 100% text-rooom: 100%}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<main>
<p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
<div>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
</div>
<form action="https://freecatphotoapp.com/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
<label><input type="checkbox" name="personality" checked> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Energetic</label><br>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36
.
Challenge: Change the Font Size of an Element
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.
ramease
September 10, 2020, 2:30pm
6
Hey @ychris ,
The challenge says it all.
Inside the same <style>
tag that contains your red-text
class, create an entry for p
elements and set the font-size
to 16 pixels ( 16px
).
Try removing
Should work now, if it doesnt check if your browser’s zoom, is on 100%.
Let me know if it worked.
ychris
September 10, 2020, 2:37pm
7
Serious I love that thank (it work chaiiii!! I really wasted time on that one but you help thank you)
1 Like
ychris
September 10, 2020, 2:42pm
8
Have you seen my message? It’s work.
Aside from that please explain this message to me ( Please do not create duplicate topics for the same challenge/project question(s). This duplicate topic has been unlisted.) I keep receiving it from the master what I my doing wrong to get that message
You keep making duplicate topics for the exact same challenge. Once you have created a topic for help with a challenge, please continue to use that topic instead of creating a new topic.
2 Likes
ILM
September 10, 2020, 4:38pm
10
Please stop creating duplicated topics. This is the last time I am going to merge your topics into one.
ILM
September 10, 2020, 4:39pm
11
this is not valid css, please delete this
1 Like