this is my code , so i
ve done first 2 things , but the last 3 errors i cant solve them
1)Give your image a border width of 10px.
2)Give your image a border style of solid.
3)The border around your img element should be green.
Can someone PLEASE make the correct code and upload it here?
You have a typo. It should be
You have a typo, your CSS is think-green- border, while your class on the img is thick-green-border
i fixed it but the code still not working
fixed it but code still not working
You should add additional class to given
img and not create another
how to do it? can you write me the correct code here? please
The class also needs to be inside the same element as the img
Daniel , can you write me the correct code please? so i can see where is my error, cause i`m a neewbie…
Just delete that img element that the class is in and put it after class=“smaller-image”
Instead of creating a separate
<img class="thick-green-border"> tag. add thick-green-border class to your previous tag. that is. in the smaller image tag, add class thick-green-border, you can do it by putting a space after
smaller-image and write
thick-green-border to it. it should look like:
class="smaller-image thick-green-border". Hope it will work.
[quote=“saqibameen09, post:12, topic:52976”]
thank you a lot it worked)))
you can try like this
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
font-family: Lobster, monospace;
<p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
<p>Things cats love:</p>
<p>Top 3 things cats hate:</p>
<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>
Please take the time to read all of the thread before posting and also look at the date of the thread as well. This is a 3-year-old thread that was already resolved.
Secondly, please avoid posting solutions to challenges. Try to help people by guiding them to the solution, not just posting the solution. Thank you.