Mohammed Jelidi

@MedJelidi
Tunis
140Points

A lifetime learner.

Latest Solutions

Latest Comments

    • HTML
    • CSS

    Responsive Design using the CSS Flexbox and the good'ol Vanilla CSS

    2
    Mohammed Jelidi140 | Posted 3 days agocommented on Dan Veranga's "NFT preview card component" solution

    I'm by no means an experienced front-end developer but I can share with you some tips:

    • If you have a value that is repeated multiple times in your styles (colors in your case), put it in a variable and call it every time you need it. Besides, whenever you want to change that color, you only change that variable's value instead of going through all your code.
    • Avoid using uppercase when naming selectors.
    • For formatting your code, I recommend Prettier extension on VSCode if you're not using it already.

    Other than that, your code looks clean already.

    0