Hey! 👋🏼
Redi School Munich - Spring 2021
Javascript's interface for interacting with HTML
MDN: Document Object Modeldocument.getElementById('main')
document.querySelector('li')
document.querySelector('.someclass')
document.querySelector('li').innerHTML = 'Email Mom.';;
document.querySelector('li').textContent
const newParagraph = document.createElement('p')
firstHeading.appendChild(newParagraph)
1.5 hours! 🕘
✨ Make usage of the following (if there's time enough):
This time with CSS styles
elem.style
elem.classList.add('MyClass'); elem.classList.remove('MyClass');
Spend some thought on the website you would like to create!
🤔💡
Further advance your movie application. Add three buttons for the jury to highlight nominees, winners, and to clear the highlights. Nominees could for example be highlighted by blue boxes while winners would be highlighted by enlarging the corresponding card and color it in gold. Other than that be creative!