[SOLVED] Big and Tall bug

I am playing the web development level Big and Tall, and it says I didn’t resize the image when I actually had.

If you look at the code section, you can see I altered the width and height. But in the top left, it says I didn’t alter its size.

Also, I noticed that I changed the second one from 200x100 to 100x100, but I reverted it back, and it still didn’t work.

-Gray

Try restarting the level and doing it again.
Lydia

Something weird is happening.

Look at the run button. It says ran.

Also, it still isn’t working, and I restarted the level.

Can you send me the link to this level and your code?
Lydia

Sure, but you can only play it if you are a subscriber.

https://codecombat.com/play/level/big-and-tall?

<!-- <img> tags can be resized using attributes. -->
<!-- width= and height= force the size for <img> tags. -->
<!-- The image scales proprotionally if one is set. -->
<!-- If both are set, the <img> stretches to the size. -->

<!-- This image is 32x32 instead of the default 100x100 -->
<img width="32" src="/file/db/thang.type/529fff23cf1818f2be000003/portrait.png">
<!-- This image is forced to be 200x100! -->
<img width="200" height="100" src="/file/db/thang.type/535ef031c519160709f2f63a/portrait.png">
<!-- Add another <img> tag and use width or height: -->
<img width="100" height="111" src="https://media.sproutsocial.com/uploads/2017/02/10x-featured-social-media-image-size.png">

Could it be because you haven’t changed the height of this image?

I think you’re only supposed to get pictures from the image gallery INSIDE the game.
Lydia

But that isn’t what it told me to do. That was automatically put in.

What is the image gallery?

It is in the upper right corner.
image


You choose an image, and then you copy the tag, and insert it in the code, then change the width/height for the picture.
Lydia

Okay, I chose a picture from the image gallery, but it still doesn’t work.

And then change the width of the picture.
Lydia

Your code should look similar to this.
Lydia

Thank you, I just had to adjust the width, and then it worked.

-Gray

2 Likes

Congrats on completing the level! :tada:
Lydia

2 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.