Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • P
    Simon 450

    @CarlosSimon02

    Submitted

    Hello, newbie here. I have some couple of questions.

    • Is there any standard way of organizing your CSS and HTML code?

    • Can I get some feedback about my code style because I know when it comes to bigger projects it would become very messy?

    • Also, I had trouble using flex box with making my 2 divs equally the same width at a constant container width that is why I use grid. I tried flex: 1; but does not seem to work. What do you think is the problem there.

    @CryoDelta

    Posted

    Newbie to newbie communication:

    • "Is there any standard way of organizing your CSS and HTML code?" I think both of these languages kinda force you to code like they intend you to since otherwise your code will look messy. You should make your Html code to look like an assemblement of boxes and use the cascading nature of Css to avoid repetition. Html forces you by making it hard to position things like you'd want to otherwise and Css by making you rewrite everything for each element.

    • "Can I get some feedback about my code style because I know when it comes to bigger projects it would become very messy?" I think... it's fine?

    • "Also, I had trouble using flex box with making my 2 divs equally the same width at a constant container width that is why I use grid. I tried flex: 1; but does not seem to work. What do you think is the problem there." Have you looked at the "flex-basis" CSS property? https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis

    Marked as helpful

    2