José Alfredo Mário Dos Santos
@Josemario17All comments
- @burakapaydinSubmitted over 1 year ago
- @joeterleckiSubmitted over 1 year ago
Here is my second solution and I incorporated the feedback from my first challenge.
My question would be, how would you change the dynamic photo for responsive design? In this case, a second image was provided and the only way to do it with an img src tag was to use srcset and put the media queries in HTML. To me, this seems like an anti-pattern as those breakpoints and image changes should be in the CSS styling. But that brings another issue to me. If you define an image in background styles in a div, then what's the appropriate way to apply alt values for accessibility?
@Josemario17Posted over 1 year agoyou can change it by screen size using the picture tag incorporated with the source tag and then the img tag, see this at: https://www.w3schools.com/tags/tag_picture.asp
keep on
0 - @IsraeliPSSubmitted over 1 year ago
I think it was a fairly simple project, made with SCSS and React that facilitates modularization
I appreciate any comments or suggestions for improvement
@Josemario17Posted over 1 year agoGood job, for this solution my suggestion is the following: increase the height of the container or decrease its width, to make it as square as possible, I hope I helped.
enjoy the code
0 - @metehankasappSubmitted over 1 year ago
thanks :)
@Josemario17Posted over 1 year agoI did the same thing kkkk, continue in this one that is too beautiful.
0 - @shashikantdev3Submitted over 1 year ago@Josemario17Posted over 1 year ago
great work, but it isn´t in center viweport
1