Morning:
Afternoon:
console.log
debugger
- W3Schools docs.addEventListener()
- MDN docs.preventDefault()
- MDN Docs.target
- MDN DocsTemplate literals are string literals that allow embedded JavaScript expressions. Surround the string literal with `` (backticks), and use the variable placeholders inside ${ }
(a dollar sign and curly braces), and they will be replaced with their respective values.
const name = 'Dana'
const hometown = 'Youngstown, OH'
console.log(`Hello, I'm ${name}. I'm from ${hometown}.`) // "Hello, I'm Dana. I'm from Youngstown, OH."
Google has a catalog of web fonts that you can use in your projects. You can import the font in your index.css
file like the code below from Chrismess.
@import url('https://fonts.googleapis.com/css?family=Lato');
body {
font-family: 'Lato', Helvetica, Arial, sans-serif;
}
Review: JavaScript Elements and Attributes
changeHeading
a more accurate name.<li>
<span class="flickName">Jurassic Work</span>
<span class="year">2015</span>
</li>
changeHeading
into multiple functions, as appropriate.)