I finished my third project and I’d like you to give a feedback about the code structure and webpage’s design. I started coding not so long ago, and so I don’t have any idea of what I could to to improve the code. About the design, I know that there’s a LOT to do to improve the design, but I am not being very art-creative latelly. Any tips or suggestions are welcome !
I also don’t know how to insert the project directly to the topic, so I’m gonna put the link of codepen (Any tip of writting topics in this forum are welcome too hahaha).
Your page looks good @franciscogil. Some things to revisit;
Codepen provides the boilerplate for you. It only expects the code you’d put within the body element in the HTML editor. (No need to include the body tags). For anything you want to add to the <head> element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.
For instance, links to fonts go in the box labeled ‘Stuff for <head>’
There are HTML syntax/coding errors you should be aware of and address.
Since copy/paste from codepen you can ignore the first warning and first two errors.
Codepen provides validators for HTML, CSS and JS. Click on the chevron in the upper right of each section and then click on the respective ‘Analyze’ link.
The one for CSS is good. Use it and address the issue(s). (be wary of duplicating selectors, it can make maintenance a nightmare)
(The one for HTML misses things which is why I recommend W3C)
Keep all your styling external,
do not use internal styling
do not use in-line styling
Do not use the <br> element to force line breaks or spacing. That’s what CSS is for.