diff --git a/Images/github1.png b/Images/github1.png new file mode 100644 index 0000000..3d141cc Binary files /dev/null and b/Images/github1.png differ diff --git a/Images/hackerrank.png b/Images/hackerrank.png new file mode 100644 index 0000000..61ff3a6 Binary files /dev/null and b/Images/hackerrank.png differ diff --git a/Images/leetcode.png b/Images/leetcode.png new file mode 100644 index 0000000..3d01e9b Binary files /dev/null and b/Images/leetcode.png differ diff --git a/Scripts/index.js b/Scripts/index.js index e3cbe27..43ef378 100644 --- a/Scripts/index.js +++ b/Scripts/index.js @@ -1,13 +1,8 @@ document.addEventListener("DOMContentLoaded", function () { var typed = new Typed('#domains', { - strings: [' ', 'Software Engineer.', 'Web Developer.', 'Student.'], + strings: [' ', 'Software Engineer.', 'Web Developer.', 'Python Developer.', 'Learner.'], typeSpeed: 50, backspeed: 30, loop: true }); -}) - -function promptnumber() -{ - alert("You Can Whatapp me on 7016958781") -} \ No newline at end of file +}) \ No newline at end of file diff --git a/Scripts/leetcode-data.js b/Scripts/leetcode-data.js new file mode 100644 index 0000000..d7580ff --- /dev/null +++ b/Scripts/leetcode-data.js @@ -0,0 +1,45 @@ +async function getLeetCodeStats(username) { + const apiUrl = `https://leetcodestats.cyclic.app/${username}`; + + try { + const response = await fetch(apiUrl); + const data = await response.json(); + + if (data.status === 'success') { + const rank = data.ranking; + const problemsSolved = data.totalSolved; + + return { rank, problemsSolved }; + } else { + throw new Error('Failed to fetch data from LeetCode API.'); + } + } catch (error) { + console.error('Error:', error.message); + return null; + } +} + +// Replace 'Jeel_Dobariya' with your actual LeetCode username +const leetCodeUsername = 'Jeel_Dobariya'; +var rank = ""; +var solved = ""; + +function updatecontent(rank) { + document.querySelector("#rank").innerHTML = rank +} + +// Call the function and log the result +getLeetCodeStats(leetCodeUsername) +.then((result) => { + if (result) { + rank =result.rank; + solved = result.problemsSolved; + console.log("rank: " + rank); + console.log("question-solved: " + solved); + updatecontent(rank); + } +}) +.catch((error) => { + console.error('Error:', error.message); +}); + \ No newline at end of file diff --git a/index.html b/index.html index a5afefa..f36de31 100644 --- a/index.html +++ b/index.html @@ -58,23 +58,35 @@
I am a 16-year-old boy with a deep passion for computer programming and a strong
aspiration to become a young software engineer. From a young age, I have been captivated by the world of
technology and the endless possibilities
+
it offers for problem-solving and innovation. My journey in coding started with languages like
C#, Python, and Java. Through self-guided learning and exploration, I have acquired a solid
foundation in these languages and enjoy applying them in
- development of various projects. The process of creating software that can positively impact people's lives truly fascinates me. With
- each project I undertake, I strive to
+ development of various projects. The process of creating software that can positively impact people's lives truly fascinates me.
+
+ With each project I undertake, I strive to
deepen my understanding of programming principles and expand my skill set. I eagerly embrace new
challenges and am constantly seeking opportunities
to learn and grow as a developer. I am motivated by the idea of contributing to the development of
cutting-edge technologies and being part of
- a collaborative team that pushes the boundaries of innovation. Beyond coding, I am an avid learner
+ a collaborative team that pushes the boundaries of innovation.
+
+ Beyond coding, I am an avid learner
who believes in the power of knowledge and its
potential to transform lives. I am dedicated to staying up-to-date with the latest advancements in
- the tech industry. I am excited to connect
+ the tech industry.
+
+ I am excited to connect
with like-minded individuals, industry professionals, and mentors who share my passion for programming
and can provide guidance and inspiration on
- this rewarding journey. Together, let's shape the future through technology!
+ this rewarding journey.
+
+ Together, let's shape the future through technology! 🚀💻