-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservices.js
More file actions
32 lines (27 loc) · 1.42 KB
/
services.js
File metadata and controls
32 lines (27 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
function showDescription(service) {
const title = document.getElementById("description-title");
const content = document.getElementById("description-content");
const descriptionArea = document.getElementById("description-area");
// Set the title and content based on the clicked service
if (service === 'web-developer') {
title.innerText = "Web Developer";
content.innerText = "Full description for Web Developer service goes here. This includes details about technologies used, project examples, and more.";
title.style.color = "white";
content.style.color = "White";
title.style.margin = "6px";
} else if (service === 'software-developer') {
title.innerText = "Software Developer";
content.innerText = "Full description for Software Developer service goes here. This includes details about programming languages used, methodologies followed, etc.";
title.style.color = "white";
content.style.color = "white";
title.style.margin = "6px";
}
// Add more conditions for other services as needed
// Show the description area
descriptionArea.style.display = "block";
descriptionArea.style.background = "black";
}
function hideDescription() {
const descriptionArea = document.getElementById("description-area");
descriptionArea.style.display = "none"; // Hide the description area
}