Vets-Who-Code / js-web-path-mountainmort

MIT License
3 stars 0 forks source link

JS DOM Manipulation #7

Closed eduv2-local[bot] closed 1 year ago

eduv2-local[bot] commented 1 year ago
Task Use Javascript to add interactivity to a web page
Conditions A HTML webpage with JS loaded after the HTML
Standards Use Javascript to do all of the following:
  • Select the <body> element
  • Add a list element as a child of the body
  • Add 2 button as children to the <body> element
  • The first button should add an list item element to the newly created list
  • The second button should remove a list item from the list
  • Make an event that listens for a click on one of the list items and when that event happens something updates (example: the background color updates)

Notes

References

mountainmort commented 1 year ago

Completed in: https://github.com/Vets-Who-Code/js-web-path-mountainmort/pull/17