Wednesday, 3 July 2019

Questions about javascript. geekyshows youtube channel

Document
  1. Target some node using its id,class and tag name.
  2. Target some node using querySelectorAll and querySelector.
  3. Target some node then find any one of its attribute's value and name.
  4. Target some node using its parentNode, childNodes and children, firstChild and firstElementChild, lastChild and lastElementChild, previousSibling and previousElementSibling nextSibling and nextElementSibling.
  5. Create one element node, text and comment node. Then append element node with textNode in one div.
  6. Make a copy of one div or list item then append it in other div or in other list. Also remove some div or list item and Replace one div or one list item too...
  7. Find out the number of characters in one text area.... length. modifying text nodes length property
  8. create a document fragnment.
  9. Create one element (h2) and then insert it in one element (h1) in all its 4 possible positions...............insertAdjacentElement
  10. Target some node and insert some other node before it......insertBefore
  11. Insert some HTML and text in one node in all 4 possible positions........insertAdjacentHTML
  12. create one orderd list on click action ..... outerHTML(4.45).
  13. Append some data in some existing text node.... appendData. Also insert some data in some existing text node in some specfic position ..... insertData
  14. Replace and delete some data in one existing text node.... replaceData and deleteData.
  15. Set get and remove one attribute in a targeted node also check that weather that targeted node has some specfic attribute.
  16. Replace one class from existing element from some other class which you made in CSS separately.
  17. Add single or multiple classes in one HTML element also remove and replace some class.
  18. Set some CSS inline properties also remove some specific CSS inline property and set CSS property with proirty.
  19. Dynamically create table including caption, table head, table Foot also insert Row in default position and in specific position and insert data in cells. replace new row with data in existing row also delete caption, delete table head, delete table foot and delete table row

No comments:

Post a Comment