Skip to content

Commit

Permalink
added project
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhlotey committed Mar 11, 2024
1 parent 7cd8b4b commit 0b21310
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
Binary file added Images/dictionary.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sukhpreet</title>
<link rel="shortcut icon" href="./Images/sukhpreetsingh.jpg" type="image/x-icon">
<link rel="shortcut icon" href="./Images/sukhpreetsinghKhalsa.jpg" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css">
<link rel="stylesheet" href="./style.css">
Expand Down Expand Up @@ -153,6 +153,17 @@ <h3>Expense Management System</h3>
</div>
</div>
</div>
<div class="work">
<img src="./Images/dictionary.jpg" alt="work">
<div class="layer">
<h3>Dictionary</h3>
<p>"Our innovative dictionary application, developed using ReactJS and styled with TailwindCSS, offers users a seamless and intuitive experience for exploring the vast world of language. By leveraging a powerful dictionary API, our application provides comprehensive definitions, synonyms, antonyms, and usage examples.</p>
<div class="layer-btn">
<a href="https://edictionaryword.netlify.app/" target="_blank"><i class='bx bx-link-external'></i></a>
<a href="https://github.com/sukhlotey/DictionaryEwordm" target="_blank"><i class='bx bx-code-alt'></i></a>
</div>
</div>
</div>
<div class="work">
<img src="./Images/portfolioo.jpg" alt="work">
<div class="layer">
Expand Down
18 changes: 0 additions & 18 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,3 @@ if(close) {
})
};

// -----------Google form--------------

const scriptURL = 'https://script.google.com/macros/s/AKfycby7BwW1ae3ONzpKFJz9RPlhkh2P9Rkk43x1gKAarmPcktxexxZp5P_vqw9tWzqXA8pA3w/exec'
const form = document.forms['submit-to-google-sheet']
const msg = document.getElementById("msg");

form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => {
msg.innerHTML = "Message sent successfully"
setTimeout(function(){
msg.innerHTML = ""
},5000)
form.reset()
})
.catch(error => console.error('Error!', error.message))
})

0 comments on commit 0b21310

Please # to comment.