Size your image help

Size your image help
0.0 0

#1

A cute orange cat lying on its back.

im stuck


#2

call the fire department


#3

:joy:

@clackeywilliams
Two things:

  1. Enclose your code in triple backticks, like this:
    ```
    Your code here
    ``` 
    Otherwise, your code won’t be formatted correctly. Even worse (in this case), HTML tags are interpreted as actual HTML, so your image is showing as the rendered image rather than the code.
  2. You need to be more specific when asking for help. “I’m stuck” isn’t a question.

Using my ultra-l33t hacking skills, I found that your code is this:

<img src='//discourse-user-assets.s3.amazonaws.com/original/3X/6/1/61a3499c5abb165be990aa0c1abd23342e60c663.jpg'
alt="A cute orange cat lying on its back."
class= smaller-image
width="100px"> 

And using my ultra-l33t searching skills, I’m guessing the challenge is this one:

The challenge wants you to add the style (width) in the CSS for the class you added (smaller-image), not as an attribute of the img element itself. You can use their sample code as a guideline/template:

<style>
  .larger-image {
    width: 500px;
  }
</style>

#4

This has been solved by the OP.