not able to add color to the image if anyone knows the easiest way kindly guide me
YoungZV
@YoungZVAll comments
- @syyedmuhammadabdullahSubmitted about 1 year ago@YoungZVPosted about 1 year ago
Congrats on your solution.
I solve this problem by adding opacity: .5 to my img and the img container colour is soft violet.
Hope you find this answer helpful
Regards, YoungZeeZee
1 - @YoungZVSubmitted about 1 year ago
Any feedback is appreciated. Please let me know where i need to be improved.
How can I not to use negative margin on my .main class to have a 100% page view without appearing a scroll bar? No margin on the header but they are too far from each other by default. Thank you.
@YoungZVPosted about 1 year agoI have made some changes to avoid negative margin on .main class.
0 - @mk-muzzammilSubmitted over 1 year ago
can anyone please tell me how i can give purple shade onto the image
If someone want to give any kind of feedback please go for it how can i improve it
@YoungZVPosted over 1 year agoHi @MK-Muzzammil,
Congrats on your solution.
I added the colour (background) to my image container and gave opacity .5 to my img.
Hope you find it helpful.
ZV
0 - @NatnaelSisaySubmitted over 1 year ago
Making the right media query breakpoint without loosing the image aspect was a bit challenging. If you have a trick on how you handle your media queries and images, i would love to hear about it
@YoungZVPosted over 1 year agoHi @NatnaelSisay,
Congrats on your solution. I have the same issue but i was told to try to use object-fit (css - https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) for images .My image had destroyed the whole site.
1 - @beowulfcodesSubmitted over 1 year ago
How many newbie challenges should I complete before going to junior level?
@YoungZVPosted over 1 year agoHi, Congrats on your solution.
There is no rule about how many newbie challenges we need to complete to start doing higher level solutions. It depends on your feeling. If you feel that the beginner solutions are too easy, just go to the next level.
Hope it helps,
BR, Zoltan
0 - @8629230Submitted over 1 year ago@YoungZVPosted over 1 year ago
Congrats on your solution.
I would like to mention one thing hope it will help you.
- button element has a default solid black border, so when you create a button the border-colour needs to be changed to a colour that you want for your button element. In this case the whole button is purple but the border is black.
All the best .
Kind regards, Zoltan
Marked as helpful0 - @HDanielOSubmitted over 1 year ago
My first HTML & CSS project in a while. There's something I don't still get about responsiveness and media queries, why do I have to write so much code just to make one section responsive, or is there something I'm not doing well, something I should use, or am I just overreacting. Thanks
@YoungZVPosted over 1 year agoHi I am not expert, still learning things but maybe better to do mobile first approach. As mainly all the html elements are block elements so it is always easier to start with it. Style everything in "mobile first" approach then when you need to do media queries it would need less codes.
Marked as helpful1 - @ClaireFarrugiaSubmitted over 1 year ago@YoungZVPosted over 1 year ago
Hi, great job, congrats on your solution.
As i see there is a black border on your button as it has black border by default. To make it nicer I suggest adding border:none to your button and there would not be different colours when you click on it.
0 - @KingsleyChukwuSubmitted over 1 year ago
I nested all the img element in a div, then I set the image to take 100% width of the parent div container.. I wonder if there is any difference between using just the img element and giving it a width or nesting it in a div and allowing it to assume the full width of its container.
@YoungZVPosted over 1 year agoHi congrats on your solution,
Just a suggestion:
Try to add interactive elements to your code such as <a> or button. The template images show that there are 3 elements that are needed.
Marked as helpful0 - @LuanLessaSubmitted over 1 year ago
I had some trouble figuring out how to center proprely,
body{ min-height: 100vh; display: grid; place-content: center; }
I'm not 100% though, and i have no clue about best pratices, so any hint I would appreciate it.
@YoungZVPosted over 1 year agoor you can try this: min-height: 100vh; display: grid; place-items: center;
1