Kevin Powell - CommunityKP-C
Kevin Powell - Community11mo ago
17 replies
markeya

Maintainability and Alignment

I have two concerns for an exercise I’m working on here: https://codepen.io/Mcoding-300/pen/MYWwqQe

note: some borders are included to see spacing/placement*

1) Is there a way I could have more control of how close my paragraph element (product description) is to my h3 element? I would like if there wasn’t so much space between them and that I could adjust it to taste. I don’t think I could even move the h3 anywhere if I tried either.

2) Do you think there’s issue with maintainability in the way this project is coded? Do you believe this could have been written in a more maintainable way? By all means please share your thoughts. I’m trying to improve more everyday.

(For maintainability, I’m aware you could technically nest .product-description inside .product-item but when I tried to, my page didn’t look the way I intended it to. I’m not sure how to make something like that work. If you know, please feel free to share and please keep question 1 in mind if you do).


Also it would be super helpful to me if you could be specific in the wording of your corrections or suggestions.
Was this page helpful?