Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. box1.style.backgroundColor = "#FEEFD4";
  2. box1s.style.fontSize = "44px";
  3. document.querySelector('#box2').style.height = "138px";
  4. document.querySelector('#box2').style.width = "113px";
  5. document.querySelector('#box2s').style.width = "552px";
  6. document.querySelector('#box2s').style.height = "452px";
  7. const circleBox3 = document.createElement('div');
  8. circleBox3.className = 'circle';
  9. document.getElementById('box3').appendChild(circleBox3)
  10. clearFinished = () => {
  11. let move = document.querySelectorAll("#box5 .chore.done");
  12. move.forEach(item => document.getElementById('box5s').appendChild(item))
  13. }
  14. clearFinished()
  15. addChore = () => {
  16. const li = document.createElement("li")
  17. const newChore = document.createTextNode("")
  18. li.appendChild(newChore)
  19. li.setAttribute("class", "undone")
  20. document.querySelector("#box5 ul").innerHTML += '<li class="chore undone">Cut Veggies(undone)</li>'
  21. }
  22. addChore()
  23. text = document.querySelector("#box6 p").textContent.split("").reverse().join("")
  24. document.querySelector("#box6 p").innerHTML = text
  25. document.querySelector("#box6s p").innerHTML = 'the word <em>"keep"</em> is not italicized, and i\'d like to keep it that way thank you.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement