Created
September 6, 2019 00:30
-
-
Save JajuanX/c34a093b19edec831e0e28c490650b25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box1.style.backgroundColor = "#FEEFD4"; | |
box1s.style.fontSize = "44px"; | |
document.querySelector('#box2').style.height = "138px"; | |
document.querySelector('#box2').style.width = "113px"; | |
document.querySelector('#box2s').style.width = "552px"; | |
document.querySelector('#box2s').style.height = "452px"; | |
const circleBox3 = document.createElement('div'); | |
circleBox3.className = 'circle'; | |
document.getElementById('box3').appendChild(circleBox3) | |
clearFinished = () => { | |
let move = document.querySelectorAll("#box5 .chore.done"); | |
move.forEach(item => document.getElementById('box5s').appendChild(item)) | |
} | |
clearFinished() | |
addChore = () => { | |
const li = document.createElement("li") | |
const newChore = document.createTextNode("") | |
li.appendChild(newChore) | |
li.setAttribute("class", "undone") | |
document.querySelector("#box5 ul").innerHTML += '<li class="chore undone">Cut Veggies(undone)</li>' | |
} | |
addChore() | |
text = document.querySelector("#box6 p").textContent.split("").reverse().join("") | |
document.querySelector("#box6 p").innerHTML = text | |
document.querySelector("#box6s p").innerHTML = 'the word <em>"keep"</em> is not italicized, and i\'d like to keep it that way thank you.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment