jamesqquick

Posted 10 months ago

Core Fundamentals of Web Development Part 5 - Working with the DOM and ES6 Variables

View Profile

In this video, we will add the functionality to accept comma separated input from the user for a list of categories. When a user types a comma into the categories input, we will save that category and clear out the input for him/her to keep typing and add more. To do this, we will need to reference DOM elements in our Javascript. As we do, we will discuss the difference between VAR keyword and the newer CONST and LET keywords.

### References

- 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/



Must be logged in to comment
Core Fundamentals of Web Development Part 5 - Working with the DOM and ES6 Variables / Welcome to Signl