Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 335aa1a

Browse files
committed
Fixed image problem in project week 2
1 parent 5d733ac commit 335aa1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hackyourrepo-app/Masoud/week2/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function main() {
99
const imgHeader = document.createElement('img');
1010

1111
imgLink.href = '#';
12-
imgHeader.src = '../img/hyf.png';
12+
imgHeader.src = 'img/hyf.png';
1313
imgHeader.alt = 'HYF logo';
1414
document.body.appendChild(header);
1515
header.appendChild(imgLink);

0 commit comments

Comments
 (0)