From 3541f9db3ab5215358781a2f1bf373e284b12fdb Mon Sep 17 00:00:00 2001 From: Lixi002 Date: Mon, 8 Jan 2024 18:05:38 +0100 Subject: [PATCH 1/6] feat(domain): lixi.is-a.dev --- domains/lixi.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 domains/lixi.json diff --git a/domains/lixi.json b/domains/lixi.json new file mode 100644 index 000000000..0330cc40a --- /dev/null +++ b/domains/lixi.json @@ -0,0 +1,14 @@ +{ + "owner": { + "username": "Lixi002", + "email": "felixlixi09@gmail.com" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file From 1d8fd34e286a97a55e543e32c1181ac2a42a2121 Mon Sep 17 00:00:00 2001 From: !Lixi! <101387561+Lixi002@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:18:40 +0100 Subject: [PATCH 2/6] lixi.json 2 --- domains/lixi.json | 49 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 14 deletions(-) diff --git a/domains/lixi.json b/domains/lixi.json index 0330cc40a..e38da74df 100644 --- a/domains/lixi.json +++ b/domains/lixi.json @@ -1,14 +1,35 @@ -{ - "owner": { - "username": "Lixi002", - "email": "felixlixi09@gmail.com" - }, - "record": { - "A": [ - "217.174.245.249", - "51.161.54.161" - ], - "MX": ["mail.is-a.dev"], - "TXT": "v=spf1 mx a:mail.is-a.dev ~all" - } -} \ No newline at end of file + + + + + + Lixi's AI Project + + + +
+

Welcome to Lixi's AI Project

+
+
+

Hello, I'm , a .

+

+
+ + + \ No newline at end of file From fe29af1ade901c26be15a58fd08d3021d0ea56e6 Mon Sep 17 00:00:00 2001 From: !Lixi! <101387561+Lixi002@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:20:45 +0100 Subject: [PATCH 3/6] lixi.json aktualisieren --- domains/lixi.json | 51 ++++++++++++++++------------------------------- 1 file changed, 17 insertions(+), 34 deletions(-) diff --git a/domains/lixi.json b/domains/lixi.json index e38da74df..0dea837cd 100644 --- a/domains/lixi.json +++ b/domains/lixi.json @@ -1,35 +1,18 @@ - - - - - - Lixi's AI Project - - - -
-

Welcome to Lixi's AI Project

-
-
-

Hello, I'm , a .

-

-
- - - \ No newline at end of file +// Displaying the information +console.log("Hello, I'm Lixi " + developerInfo.name + ", a " + developerInfo.role + "."); +console.log("I specialize in " + developerInfo.expertise.join(', ') + "."); +console.log("Currently, I'm working on the project '" + developerInfo.project.name + "'."); +console.log("Description: " + developerInfo.project.description); +console.log("Technologies used: " + developerInfo.project.technologies.join(', ')); \ No newline at end of file From 624a89b18b43386e82d8f06945359ec2b501d3aa Mon Sep 17 00:00:00 2001 From: !Lixi! <101387561+Lixi002@users.noreply.github.com> Date: Tue, 9 Jan 2024 07:45:17 +0100 Subject: [PATCH 4/6] lixi.json aktualisieren --- domains/lixi.json | 122 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 105 insertions(+), 17 deletions(-) diff --git a/domains/lixi.json b/domains/lixi.json index 0dea837cd..5b05f2d3d 100644 --- a/domains/lixi.json +++ b/domains/lixi.json @@ -1,18 +1,106 @@ -// Additional information about the developer -const developerInfo = { - name: "Lixi", - role: "Developer", - expertise: ["Web Development", "AI"], - project: { - name: "AI Wonderland", - description: "An immersive AI project exploring the boundaries of technology.", - technologies: ["Machine Learning", "Natural Language Processing"] + /** + * Represents a person with information about their skills and project. + */ +class Person { + /** + * Constructor for the Person class. + * + * @param {string} name - The name of the person. + * @param {string} profession - The profession of the person. + * @param {string[]} skills - An array of skills the person has. + * @param {string} project - The project the person is working on. + */ + constructor(name, profession, skills, project) { + /** @private */ + this.name = name; + + /** @private */ + this.profession = profession; + + /** @private */ + this.skills = skills; + + /** @private */ + this.project = project; } -}; - -// Displaying the information -console.log("Hello, I'm Lixi " + developerInfo.name + ", a " + developerInfo.role + "."); -console.log("I specialize in " + developerInfo.expertise.join(', ') + "."); -console.log("Currently, I'm working on the project '" + developerInfo.project.name + "'."); -console.log("Description: " + developerInfo.project.description); -console.log("Technologies used: " + developerInfo.project.technologies.join(', ')); \ No newline at end of file + + /** + * Getter method to retrieve the name of the person. + * + * @returns {string} The name of the person. + */ + getName() { + return this.name; + } + + /** + * Getter method to retrieve the profession of the person. + * + * @returns {string} The profession of the person. + */ + getProfession() { + return this.profession; + } + + /** + * Getter method to retrieve the skills of the person. + * + * @returns {string[]} The skills of the person. + */ + getSkills() { + return this.skills; + } + + /** + * Getter method to retrieve the project of the person. + * + * @returns {string} The project of the person. + */ + getProject() { + return this.project; + } +} + +/** + * Generates an interactive webpage with information about a person. + * + * @param {Person} person - The person object containing the information. + */ +function generateWebpage(person) { + // Create HTML elements + const container = document.createElement('div'); + const nameElement = document.createElement('h1'); + const professionElement = document.createElement('h2'); + const skillsElement = document.createElement('ul'); + const projectElement = document.createElement('p'); + + // Set content for HTML elements + nameElement.textContent = `Name: ${person.getName()}`; + professionElement.textContent = `Profession: ${person.getProfession()}`; + person.getSkills().forEach(skill => { + const skillItem = document.createElement('li'); + skillItem.textContent = skill; + skillsElement.appendChild(skillItem); + }); + projectElement.textContent = `Project: ${person.getProject()}`; + + // Append elements to container + container.appendChild(nameElement); + container.appendChild(professionElement); + container.appendChild(skillsElement); + container.appendChild(projectElement); + + // Append container to the body of the webpage + document.body.appendChild(container); +} + +// Create a person object +const person = new Person( + "Lixi", + "Dev", + ["C#", "Python", "Java"], + "DevcoAI" +); + +// Generate the webpage with the person's information +generateWebpage(person); \ No newline at end of file From 7133c2a7fd83a4b527c1e917519cbca26dc69bb7 Mon Sep 17 00:00:00 2001 From: !Lixi! <101387561+Lixi002@users.noreply.github.com> Date: Tue, 9 Jan 2024 07:45:46 +0100 Subject: [PATCH 5/6] lixi.json aktualisieren --- domains/lixi.json | 107 +--------------------------------------------- 1 file changed, 1 insertion(+), 106 deletions(-) diff --git a/domains/lixi.json b/domains/lixi.json index 5b05f2d3d..501a6bbaf 100644 --- a/domains/lixi.json +++ b/domains/lixi.json @@ -1,106 +1 @@ - /** - * Represents a person with information about their skills and project. - */ -class Person { - /** - * Constructor for the Person class. - * - * @param {string} name - The name of the person. - * @param {string} profession - The profession of the person. - * @param {string[]} skills - An array of skills the person has. - * @param {string} project - The project the person is working on. - */ - constructor(name, profession, skills, project) { - /** @private */ - this.name = name; - - /** @private */ - this.profession = profession; - - /** @private */ - this.skills = skills; - - /** @private */ - this.project = project; - } - - /** - * Getter method to retrieve the name of the person. - * - * @returns {string} The name of the person. - */ - getName() { - return this.name; - } - - /** - * Getter method to retrieve the profession of the person. - * - * @returns {string} The profession of the person. - */ - getProfession() { - return this.profession; - } - - /** - * Getter method to retrieve the skills of the person. - * - * @returns {string[]} The skills of the person. - */ - getSkills() { - return this.skills; - } - - /** - * Getter method to retrieve the project of the person. - * - * @returns {string} The project of the person. - */ - getProject() { - return this.project; - } -} - -/** - * Generates an interactive webpage with information about a person. - * - * @param {Person} person - The person object containing the information. - */ -function generateWebpage(person) { - // Create HTML elements - const container = document.createElement('div'); - const nameElement = document.createElement('h1'); - const professionElement = document.createElement('h2'); - const skillsElement = document.createElement('ul'); - const projectElement = document.createElement('p'); - - // Set content for HTML elements - nameElement.textContent = `Name: ${person.getName()}`; - professionElement.textContent = `Profession: ${person.getProfession()}`; - person.getSkills().forEach(skill => { - const skillItem = document.createElement('li'); - skillItem.textContent = skill; - skillsElement.appendChild(skillItem); - }); - projectElement.textContent = `Project: ${person.getProject()}`; - - // Append elements to container - container.appendChild(nameElement); - container.appendChild(professionElement); - container.appendChild(skillsElement); - container.appendChild(projectElement); - - // Append container to the body of the webpage - document.body.appendChild(container); -} - -// Create a person object -const person = new Person( - "Lixi", - "Dev", - ["C#", "Python", "Java"], - "DevcoAI" -); - -// Generate the webpage with the person's information -generateWebpage(person); \ No newline at end of file + \ No newline at end of file From 058ee3d34a62e245bded958b14221d88b9fea3a1 Mon Sep 17 00:00:00 2001 From: !Lixi! <101387561+Lixi002@users.noreply.github.com> Date: Tue, 9 Jan 2024 09:03:22 +0100 Subject: [PATCH 6/6] lixi.json aktualisieren --- domains/lixi.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/domains/lixi.json b/domains/lixi.json index 501a6bbaf..908c0925c 100644 --- a/domains/lixi.json +++ b/domains/lixi.json @@ -1 +1,15 @@ - \ No newline at end of file + +{ + "owner": { + "username": "Lixi002", + "email": "felixlixi09@gmail.com" + }, + "record": { + "A": [ + "217.174.245.249", + "51.161.54.161" + ], + "MX": ["mail.is-a.dev"], + "TXT": "v=spf1 mx a:mail.is-a.dev ~all" + } +} \ No newline at end of file