-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a Image Galary Project #2051
base: master
Are you sure you want to change the base?
Conversation
Created and added a Image Galary Project please review it and accept my PR . #hacktoberfest2024 #hacktoberfest #opensource
scrollContainer.scrollLeft += 900; | ||
}); | ||
|
||
backBtn.addEventListener("click", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
|
||
}); | ||
|
||
nextBtn.addEventListener("click", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
let backBtn = document.getElementById("backBtn"); | ||
let nextBtn = document.getElementById("nextBtn"); | ||
|
||
scrollContainer.addEventListener("wheel", (event) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,20 @@ | |||
let scrollContainer = document.querySelector(".gallery"); | |||
let backBtn = document.getElementById("backBtn"); | |||
let nextBtn = document.getElementById("nextBtn"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
@@ -0,0 +1,20 @@ | |||
let scrollContainer = document.querySelector(".gallery"); | |||
let backBtn = document.getElementById("backBtn"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
@@ -0,0 +1,20 @@ | |||
let scrollContainer = document.querySelector(".gallery"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
Created and added a Image Galary Project please review it and accept my PR .
#hacktoberfest2024 #hacktoberfest #opensource