Below is my code for the exercise Size Your Image. My browser is the latest version of google chrome and the zoom is at 100%. I don’t know what I’m doing wrong. Any and all help would be greatly appreciate!!
<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" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
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 easier to read.
Note: Backticks are not single quotes.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (
</>) will also add backticks around text.
I tried your code and it passed, what error does it give…? Maybe reset your code and try again or clear the cache and try again
I found out the problem. I had a custom scaling option on for my monitor and it was affecting the pixel width of the image. I turned the custom scaling off and the code passed. Thank you for the help!