Can anybody please review my project? I would like some insight.I passed all the tests but I want to make it more aesthetically pleasing. I want to reduce the opacity of the container. Also make the textarea bigger.Also my code seems to be a little messy, so any tips on organizing it better?
Thank you!
It brings me at the structure topic. As you are starting your journey HTML/CSS, I advice you to always write correctly the structure, even it is CodePen and that you don’t need it. You are using CodePen to make the tests for freeCodeCamp, but later, for personal/professional projects, you will need a good structure. Example:
<!DOCTYPE html>
<html>
<head>
<!-- metadata -->
</head>
<body>
<!-- Code, things visible on the page -->
</body>
<html>
Intend your code. It will be easier to read yourself again and maybe find little mistakes.
Try to keep the styling for the CSS. Example in your code (I put comments inside):
<! it is good to use the for property for label tags, to connect them with their input: <label for="same_id_input"></label> -->
<label id="number-label">Age:
<!-- You can define the size on elements into CSS with properties such has width, min-width etc -->
<input id="number" type="number" min="10" max="120" placeholder="Your Age" required>
</label>
Now about the opacity of your container. I think your are talking about the principal one. There is RGBA (Red Green Blue Alpha) color values you can use. The alpha value is between 0 (full transparent) to 1 (full opaque).
Finally, about the textarea, you can use CSS to change its size, with the properties height and width
Hope it answers your questions! Know that your page looks good and colourful, I like it. I guess it makes part of your first projects with these languages, so great job!
Thank you so much for the feedback! It means a lot to me And I’m new here so I’m still figuring things out. Next time i’ll post my project on the subform for sure! Thank you for clearing a lot of my doubts!