├── README.md ├── index1.css ├── index.js └── index1.html /README.md: -------------------------------------------------------------------------------- 1 | # html-fiie 2 | -------------------------------------------------------------------------------- /index1.css: -------------------------------------------------------------------------------- 1 | html{ 2 | 3 | } 4 | .pa1{ 5 | position: relative; 6 | right: 50%; 7 | background-color: antiquewhite; 8 | } 9 | 10 | .list{ 11 | position: relative; 12 | right: -45%; 13 | } 14 | .list-button{ 15 | background-color: greenyellow; 16 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | function AddTask() { 2 | var content = document.getElementById("user-input").value; 3 | var element = document.getElementById("task-container"); 4 | 5 | var newElement = document.createElement('div'); 6 | newElement.classList.add('ind-task'); 7 | newElement.innerHTML = '