jazz1
January 3, 2021, 12:19pm
1
Tell us what’s happening:
Hi,
does anyone know what i have been missing, i have put the class in html image element, and it passed. but not the style.
Your code so far
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.smaller-image[
width:100px;
]
.red-text {
color: red;
}
h2 {
font-family: Lobster, monospace;
}
p {
font-size: 16px;
font-family: monospace;
}
</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 class="smaller-image"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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
.
Challenge: Size Your Images
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.
jazz1
January 3, 2021, 12:29pm
3
i dont have them on my computer, don’t know have to set them up. ^^ but
they have been working for me before. so i don’t think that’s the problem unless it want the mess with me now…
jazz1
January 3, 2021, 12:30pm
4
the problem also i cant paste them in…
codely
January 3, 2021, 12:33pm
6
Use
For copy = control+C
For paste = control+v
jazz1
January 3, 2021, 12:34pm
7
typical… do you know how to change that on mac so i can get them instead. ^^
codely
January 3, 2021, 12:35pm
8
Use Shift in your keyboard
jazz1
January 3, 2021, 12:38pm
9
i know how to use them… shift, command +8 and they pop up. That’s not the problem. it’s my settings on the keybord.
codely
January 3, 2021, 12:40pm
10
Then what??
Use Shift
+ the button you used for the square brackets.
jazz1
January 3, 2021, 12:48pm
11
You don’t get it… i am using the buttons for the brackets and my settings for brackets on my computer is and i’m asking you if you know how to change the settings on a mac to make the brackets be correct. because i can’t copy them in the curriculum. { } peace.
codely
January 3, 2021, 12:51pm
12
jazz1:
{ }
Just copy this and paste at the place, this should be.
1 Like
jazz1
January 3, 2021, 12:53pm
13
… still cant paste anything in the curriculum so that’s why i’m asking how to change the settings. but thanks for you time.
codely
January 3, 2021, 1:05pm
14
You can’t change it.
How will you change something that is on your keyboard.
ilenia
January 3, 2021, 1:40pm
15
keyboard shortcuts work, so if you use that you should be able to paste
something like this work?
https://discussions.apple.com/thread/7418604
you really need to use {}
in coding, and there is for sure a way to use them, though being your computer/keyboard you are the best person to do the research as there may be differences between keyboard languages, model, etc
2 Likes
jazz1:
[
.smaller-image[
width:100px;
]
.smaller-image{
width:100px
}
The style property for .smaller-
image has instead of {}
hi, correct brackets maybe this is the probelm.
.smaller-image{
width:100px;
}
jazz1
January 5, 2021, 11:34am
19
Hi, Thanks everyone!! *
I figured it out and fixed my keybord so it works for me now.
Thanks for your support and time.
Happy coding. : )
2 Likes