I’m a mysterious individual who has yet to fill out my bio. One thing’s for certain: I love writing front-end code!
I’m currently learning...My goal is to enhance my proficiency in vanilla JavaScript by constructing progressively challenging projects ranging from beginner to guru level. The ultimate objective is to attain mastery of the language.
Latest solutions
Responsive Intro section with dropdown navigation JS, HTML, CSS
#accessibility#animation#bem#open-props#post-cssSubmitted about 2 months agoI hope to improve on the time I take to complete the project.
Expense Chart Component | Built using HTML, CSS, and JavaScript
#accessibility#bemSubmitted 5 months agoI would be happy if someone could help me figure out how to fetch or load local data using the
fetch()
API when working with a parcel live server.I would also like any suggestions as to how I can improve my code.
Responsive Portfolio Website Using HTML, CSS, and JavaScript
#accessibility#parcelSubmitted 8 months agoI am always open to suggestions on how to improve this challenge and make my code cleaner and more efficient.
Thank You 🙏
Interactive Card Details Form using HTML, CSS, and JavaScript
#accessibility#parcelSubmitted about 1 year agoI want to get an honest review of my solution and see what I could improve.
Latest comments
- @ponhuang@stephenikuomola
- Hello Pon Huang!!!
Increase the line-height of the description class to about 1.5 or you multiply your font-size by 1.5 to get an appropriate font size in px's.
Just had a look at your code and I think the reason you are having issues with mobile version was because you made the container have a width of 50vw at a media query which has a max-width of 45rem. I personally think it's best you work with rem or px units in this situation. So you can do something like this:
container{ width:85%; max-width:380px}
or you could also do thiscontainer{ width= min(85%, 380px}
Then finally on that same container class you can add a
margin-inline:auto
ormargin:0 auto
ormargin-right:0
thenmargin-left:0
.I think this solves your problem with the mobile version.
Happy Coding Pon Huang :)
- @remtaine@stephenikuomola
Hello Remtaine!!!!
This is fantastic and really impressive from you as well. For the color filter for the image on the image class, element or id, you should apply the following properties;
img{ filter:opacity(75%); mix-blend-mode:multiply; }
This will give the image that effect as it make the background-color blend with it giving it that dark effect on the image.
Marked as helpful - @Davidmide02@stephenikuomola
-
You need to give your text a particular font-size.
-
You can also check the
<div class="annual"></div>
and make that container to have adisplay:flex
. Also set the annual class to be a percentage of the card as well and add margin left and right to have a margin of auto. -
You can also set the width of the button to be a percentage of the card and make it have a margin left and right of auto. That way the button will be responsive.
-
I DO NOT think you need to set the
<main>
tag to have a width of 50% as that will make the card to shrink in width as the viewport decreases.
I think that is all for what might be giving you problems in terms of the responsiveness.
Happy Coding David Adenusi!!!!
-
- @Rohtikot@stephenikuomola
You can get the colour overlay on the image, by doing this; `img{ filter:opacity(75%); mix-blend-mode:multiply; }
- @stephenikuomola@stephenikuomola
Just finished up this project and to me it looks not so bad but I will appreciate some help if any from the community where possible to help me improve on what I did.
- @chetanachaudhary@stephenikuomola
To make the image appear very close to the one you have on the design, use:
filter: opacity(75%); mix-blend-mode: multiply
This should be done on the image.