Skip to content

Commit

Permalink
Merge pull request #6 from GeekyHacks/Interactive
Browse files Browse the repository at this point in the history
Interactive2
  • Loading branch information
GeekyHacks authored Jul 20, 2023
2 parents c0d4fdb + 566cb0d commit 37e0ca9
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 174 deletions.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/bundle55df76a2dc1d3425b0a3.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/bundleb1bc1289adb792b66089.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>

<title>%= htmlWebpackPlugin.options.title %</title>
<script defer src="bundleb1bc1289adb792b66089.js"></script></head>
<script defer src="bundle55df76a2dc1d3425b0a3.js"></script></head>
<body>
<main class="container">
<div>
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import './styles/sass/main.sass';
import './assets/refresh.png';
import './assets/enter.png';
import './assets/trash-can.png';
import { addTask, taskarr } from './modules/addTask.js';
import renderList from './modules/displayList.js';
import './assets/three-dots.png';
Expand Down
6 changes: 4 additions & 2 deletions src/modules/displayList.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { taskarr } from './addTask.js';
// import update from './update.js';
// export const dots = '../assets/three-dots.png';
const trashCan = '../assets/trash-can.png';
import '../assets/trash-can.png';
// const trashCan = './assets/trash-can.png';

export const tasksList = document.querySelector('#tasksList');

Expand All @@ -14,7 +15,8 @@ export default (task) => {
task.innerHTML = `
<input type="checkbox" id="checkB" ${taskarr[i].completed} />
<input class="newTasks" type="text" id="addItem" value="${taskarr[i].description}" />
<img class="dotsImg" id="dotsImg" src="${trashCan}" alt="" />
<img class="trash" id="trash" src='./assets/trash-can.png' alt="" />
`;
}
if (taskarr[i].description === '') {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/sass/main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ input
cursor: pointer
transition: all 0.5s

#recyclImg, #addBtn,.dotsImg
#recyclImg, #addBtn,#dotsImg,#trash
height: 1.7rem
width: 1.5rem
opacity: .5
Expand Down

0 comments on commit 37e0ca9

Please sign in to comment.