Cursor reflects hover state of picture icon
Beginning of Javascript coding has been started as well.
This commit is contained in:
parent
2f80824ac8
commit
d838df075e
10
js/script.js
10
js/script.js
|
@ -0,0 +1,10 @@
|
|||
let icon = document.querySelector(".clickable-image");
|
||||
|
||||
icon.addEventListener("click", () => {
|
||||
// let desktop = document.querySelector("body");
|
||||
// let imageWindow = document.createElement("div");
|
||||
|
||||
|
||||
|
||||
// desktop.appendChild();
|
||||
});
|
|
@ -45,3 +45,7 @@ p {
|
|||
.img-icon {
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
|
||||
.clickable-image:hover {
|
||||
cursor: pointer;
|
||||
}
|
Loading…
Reference in New Issue