how to do you resize a picture?
I'm doing my first challenge and i've used the picture provided for the challenge, would anyone be willing to give some tips on how to resize a picture so its smaller https://repl.it/@gerrardwrx/Sally-Student-Resume
ahsir (0)
thank you so much
Yoesh (0)
I dont
know
Take a look at this. Try using a
height
orwidth
attribute to set the size of the picture. That's just a hint! If you need more just ask!@EthanJustice thank you so much
@gerrardwrx Yeah no problem!
@EthanJustice ya i need more help
@AmandaAhern Set your image element to
<img src="https://m.media-amazon.com/images/M/[email protected]_V1_.jpg" alt="student" height="100px" width="100px" />
Change the values within the
height
andwidth
attributes into whatever your like, such as50px
or2cm
. See the MDN on Pixels or the Width and Height section on the previous link. Hope this helps, and apologies for the late reply. If you need any more information feel free to ask!@EthanJustice Thank you so much!
@EthanJustice how do make an image a backround?
@AmandaAhern
so helpful
@EthanJustice
@EthanJustice Thank you so much now it works!! YAY 😁
@EthanJustice, TYYYY!