let
and can be used to store values that can also be updated<article>
vs <section>
: <article>
is designed to be independently reusable and redistributable; whereas <section>
is just a generic standalone section of a document that has no sepecific element to represent the section, also heading is required for a <section>
<h1>
headers are used to give the contents a role which is considered important for search engines. For instance, a header can be given on top of a <span>
to give the block a heading, which makes it easier for search engines to identify key words<script> JS goes here </script>
; 2) externally with <script src="script.js"></script>
; 3) inline, directly to the HTML document (not recommended)https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works ↩
https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/What_will_your_website_look_like ↩
https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML ↩
https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started#anatomy_of_an_html_element ↩
https://developer.mozilla.org/en-US/docs/Glossary/Semantics ↩
https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript ↩