I’m brand new to programming and I was just looking for some feedback on my first HTML project. I know I still have a TON to learn, so off the bat I’m really just hoping for some constructive criticism on how my code is set up. I know there’s a certain way it’s supposed to be, so I’d like to establish that early.
Thanks a lot!
- Do not use lower levels to decrease heading font size:
<h1 class="text-center text-primary" id="heading">Kemba Walker</h1>
<h3 class="text-center" id="subheading">Point Guard - Charlotte Hornets</h3>
**Do not use lower levels to decrease heading font size: use the CSS font-size property instead.**Avoid skipping heading levels: always start from
<h1>, next use
<h2> and so on.
h2–h6 elements must not be used to markup subheadings, subtitles, alternative titles and taglines unless intended to be the heading for a new section or subsection. Instead use the markup patterns in the §4.13 Common idioms without dedicated elements section of the specification.
- Is recommended for styles to be defined in a separate file or files
<ul id="percentages" style="list-style: none">
The style global attribute contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the
<style> element have mainly the purpose of allowing for quick styling, for example for testing purposes.
This is only a recommendation
Cheers and happy coding