Tell us what’s happening:
Hello, I am new to this, but I am giving it the old college try. I am trying to size the img of the CatPhotoApp. When I try to run it, this is what it gives me for a message
( Your img element should have the class smaller-image. Your image should be 100 pixels wide.)
Please Help
**Your code so far**<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
This is where your error comes from. The class name is supposed to be .smaller-image not .small-image and also you need to add that specific class class="smaller-image" to the img tag in the code.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
Thank you so much for pointing that out for me. I do want to let you know that you guys are awesome. Next week I have a check coming in and I will bed donating to this company. I am starting a blog shortly; I am going to mention this company and how people need to try this.
Its okay @heinrich1016 helping each other is the purpose of the FCC. It’s fine not to get it right. Whenever you’re adding attributes to any HTML elements in this case <img> it must always be inside the tag and if it is a tag that has both opening and closing tags like <div></div> you will add these attributes in the opening tags like this <div class="background-image"> </div>
To make it easy for you, add the class="smaller-image" in the <img> element after or before the src= attribute
Yes, thank you so much and sorry for being a pain but, I want to make sure I fully understood. I have a great passion for coding and such. I wish I would have started earlier in life.
I understand this but I’d also like to say there’s no right/perfect time to learn how to code. The most important thing which you have just done is “starting” and that’s all you need.
Luckily the FCC curriculum is designed in a self-paced fashion allowing you to take your time to properly learn each technology at your own convenience with a supportive community always available to help.
Each course is designed for a 300hr time frame but you don’t have to complete them in 300hrs. I believe this is just to encourage every developer to take as much time as needed for each course.
My advice is don’t just learn to pass the challenges or projects, learn to understand. If ever you get stuck, do not feel ashamed or shy to ask for help, only then can other developers help you and you also get to learn more.