Cursor reflects hover state of picture icon

Beginning of Javascript coding has been started as
well.
This commit is contained in:
emma 2024-10-27 22:39:56 -04:00
parent 2f80824ac8
commit d838df075e
2 changed files with 14 additions and 0 deletions

View File

@ -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();
});

View File

@ -45,3 +45,7 @@ p {
.img-icon { .img-icon {
padding-left: 1.25rem; padding-left: 1.25rem;
} }
.clickable-image:hover {
cursor: pointer;
}