@sulemaan7070
Posted
hey Ebenezer😄, you really did a pretty good job. and your site looks accurate to the design🎉💯... The new thing which I have observed in the code is you used the useEffect and width of the screen
to change the image... I had no idea we can do that...did you use that on purpose?....if it was on purpose then great job! otherwise
since you have already used tailwind this following way is much simpler!!
<img className="flex xl:hidden" src="mobile-img"/>
<img className="hidden xl:flex" src="desktop-img"/>
Marked as helpful