On Github mimiflynn / web-tech-basics
Simply explain web technologies so designers can have a better understanding of technical constraints and possibilities of HTML, CSS and Javascript.
The container of all things that make up a page. Holds text and images.
Categorizes the content of the page into logical chunks.
<h1>HTML</h1> <p>The container of all things that make up a page. Holds text and images.</p> <p>Categorizes the content of the page into logical chunks.</p> <ul> <li>Headers</li> <li>Paragraphs</li> <li>Lists</li> <li>Links</li> <li>And more!</li> </ul>
Defines content style.
h1 { font-family: sans-serif; color: red; height: 30px; line-height: 40px; margin-bottom: 15px; }
Business and iteraction logic that brings the page to life by controlling the HTML and CSS dynamically.
The DOM is an Application Programming Interface (API).
Now for sample code!
Show hide component Show hide component with multiple paragraphs Show hide component with better stylesFeel free to check out the code for this presentation on GitHub.