HTML
HT01 - HTML Basics
Complexity
Junior
Timeframe
2h
Summary
You should understand the basics of HTML and DOM.
Skill Breakdown
You should understand the concept of HTML elements and HTML attributes.
You should be able to use the most important text elements:
- paragraph
p - headings
h1toh6 - emphasis
em - importance
strong - text breaks with
brandhr
You should be able to use lists:
- unordered lists with
ul - ordered lists with
ol - list items with
li
You should be able to use hyperlinks (i.e. the a element).
You should be able to use images (i.e. the img element).
You should know how to use the generic containers div and span.
You should understand why semantic HTML is important.
You should understand what DOM is and the difference between HTML and DOM.
You should know the most important JavaScript functions for interacting with the DOM:
getElementByIdgetElementsByClassNamegetElementsByTagNamequerySelectorquerySelectorAll
You should understand that the results of those JavaScript functions are just regular JavaScript objects. You should be able to use some of the most important properties of these objects:
idclassNameinnerHTML
You should understand how events and event listeners work.
You should understand the target and currentTarget properties of events.
You should understand how to use preventDefault() to prevent default actions.
Required Resources
Getting Things Done in Next.js:
- Hypertext Markup Language (opens in a new tab)
- Marking Up Text (opens in a new tab)
- Hyperlinks and Images (opens in a new tab)
- The Document Object Model (opens in a new tab)
- Events (opens in a new tab)
Optional Resources
MDN Introduction to HMTL:
- Getting started with HTML (opens in a new tab)
- What's in the head? Metadata in HTML (opens in a new tab)
- HTML text fundamentals (opens in a new tab)
- Creating hyperlinks (opens in a new tab)
- Advanced text formatting (opens in a new tab)
- Document and website structure (opens in a new tab)
- Debugging HTML (opens in a new tab)
MDN HTML Reference:
- p (opens in a new tab)
- h1 (opens in a new tab)
- em (opens in a new tab)
- strong (opens in a new tab)
- br (opens in a new tab)
- hr (opens in a new tab)
MDN Web API Reference:
- getElementById (opens in a new tab)
- getElementsByClassName (opens in a new tab)
- getElementsByTagName (opens in a new tab)
- querySelector (opens in a new tab)
- querySelectorAll (opens in a new tab)
HT02 - HTML Forms
Complexity
Junior
Timeframe
2h
Summary
You should understand how to create HTML forms and process form input with JavaScript.
Skill Breakdown
You should know to create a form using the <form> element.
You should know how to create a form control using the <input> element and know the most important input types:
textpasswordnumberemailsearchcheckboxradiorange
You should khow to add a label using the <label> element.
You should know to add a submit button and how to process a submit event.
You should know how to structure a form using <fieldset> and <legend>.
Required Resources
Getting Things Done in Next.js:
Optional Resources
MDN Web Forms:
- Your first form (opens in a new tab)
- How to structure a web form (opens in a new tab)
- Basic native form controls (opens in a new tab)
- The HTML5 input types (opens in a new tab)
- Other form controls (opens in a new tab)
HTML Reference: