jamesqquick

Posted 6 months ago

Core Fundamentals of Web Development Part 7 - Adding and Removing Classes in Javascript

View Profile

In this videos, we will add the functionality to show and hide the add link form. We will accomplish this by adding/removing the 'hidden' class to/from the form. This video will help to reinfornce topics from the previous two videos: working with DOM elements, event listeners, defining variables with ES6 Let and Const, and ES6 Arrow Functions. Additionally, we will learn how to add and remove classes from a DOM element in Javascript.

### References


- Add Remove Classes With Raw Javascript - https://jaketrent.com/post/addremove-...
- Javasctipt DOM Elements - https://www.w3schools.com/js/js_htmld...
- KeydownEvent - Add category functionality - change event, prevent default
- Keydown Event Handler - https://www.w3schools.com/jsref/event...
- Key Code Info - http://keycode.info/
- Let vs Const by Wes Bos - http://wesbos.com/let-vs-const/
- Understanding the This Keyword in Javascript - https://toddmotto.com/understanding-t...
- ES6 Arrow Function New Fat Concise Syntax Javascript https://www.sitepoint.com/es6-arrow-f...


Must be logged in to comment
Core Fundamentals of Web Development Part 7 - Adding and Removing Classes in Javascript / Welcome to Signl