Design comparison
Solution retrospective
I accept suggestions. I tried to make the project very responsive and similar to the proposed design. I would also like to know how to generally measure the amount of pixels in an image, in this project I literally downloaded a 'virtual ruler' that measures pixels, so I accept suggestions about that. I liked the challenge.
Community feedback
- @Victor-NyagudiPosted almost 2 years ago
Hi, Jose.
Good attempt on this one.
If you want to know how many pixels a
<div>
,<section>
, or any other element is, open Chrome developer tools, and on the top left, above the console, you'll see a cursor icon partially inside a square.Click on this icon, and hover over the element whose size you want to know. You'll notice that as you hover over elements, you'll see their content box and/or margin and padding.
A white popup will also show up telling you what the element is and some other helpful information. On the top left of the popup, you'll see the element's name, and on the top right, you'll see how big the element is in pixels e.g. 546x314.
The first number is the width i.e. 546, and the second number is the height i.e. 314.
I hope this helps.
All the best with your other solutions.
1@JoseClaudiolimaPosted almost 2 years ago@Victor-Nyagudi Hi Victor, thanks to explain to me how to see width and height in chrome.
But my question is about how i could see the width and height in a image, example: img.png , img.jpg. Because frontendmentor.io exercises come with a 'design' folder that contains these images of what the final solution should look like.
Thx for commenting here
0@Victor-NyagudiPosted almost 2 years ago@JoseClaudiolima
You could try right-clicking the image file on your computer outside of VS Code or your code editor of choice then choosing properties.
The information shown should include the image's dimensions.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord