Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Write the HTML

PlaceIMG

When I am trying to pull images off of PlaceIMG its not allowing to input numbers larger than a single number digit, just curious if anyone else was having this same issue?

2 Answers

Steven Parker
Steven Parker
231,198 Points

A typical reference to PlaceIMG might look like this:
ā€ƒ http://placeimg.com/640/480/any

Single-digit dimensions would produce an image too small to easily see or be useful. Check that you are using the dimensions in the correct place and order in the URL.

If that's not your issue, please show the exact URL you are trying to reference.

Steven Parker
Steven Parker
231,198 Points

Do you mean the Width (px) and Height (px) boxes on the URL builder? They work as expected for me.

Notice that when you select the box, the border becomes a bit bolder. Watch to see if the box loses focus (is no longer selected) when you type a digit. If so, select it again.

You could also try copying the value you want from another window (perhaps running notepad) and pasting it in the box.

If either/both of these work, there may be something odd about your keyboard or browser that is causing an unexpected focus change when you enter a digit.

Thanks,

When I copy and paste what you linked it works, however when I try to plug those same px's on PlaceIMG it only allows me to put single digit numbers making the images very small.