From 53a1669eddaa948bb35b005d34e97a91de50301c Mon Sep 17 00:00:00 2001 From: Sourabh782 Date: Sat, 10 Aug 2024 17:41:17 +0530 Subject: [PATCH] Added image click redirection feature --- css/sec3.css | 2 +- js/Landingpage.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/css/sec3.css b/css/sec3.css index 7fa223f..37e9cf4 100644 --- a/css/sec3.css +++ b/css/sec3.css @@ -39,7 +39,7 @@ transition: all 0.3s ease-in-out; } -.box1>img { +.contentImg { height: 12rem; width: 20rem; margin: 20px 0; diff --git a/js/Landingpage.js b/js/Landingpage.js index 274f943..946cd89 100644 --- a/js/Landingpage.js +++ b/js/Landingpage.js @@ -132,7 +132,8 @@ function td_fun(item) { div.className = "mainContainer"; div.innerHTML = `
- + +
${item.tags}

${item.title}