class Myself {
constructor(info) {
this.info = info;
}
introduction() {
const introLines = [
`Hello, I'm ${this.info.nickname}.`,
`I'm ${this.info.age} years old.`,
`I'm a ${this.info.occupation} with ${this.info.experience} years of experience.`,
`You can find me on GitHub: ${this.info.github}`,
`And on GitLab: ${this.info.gitlab}`,
`Check out my website: ${this.info.website}`
];
let lineIndex = 0;
const interval = setInterval(() => {
if (lineIndex < introLines.length) {
document.getElementById("intro").innerHTML += introLines[lineIndex] + "<br>";
lineIndex++;
} else {
clearInterval(interval);
}
}, 1000);
}
}
// Define my informations
const MyInfo = {
nickname: "Cavifeal",
age: 15,
occupation: "JavaScript developer",
experience: 5,
github: "https://github.com/CVFA-Dev",
gitlab: "https://gitlab.com/CVFA",
website: "https://cvfa.vercel.app/"
};
// Create a Myself object
const me = new Myself(MyInfo);
// Introduce myself
me.introduction();
Hello, i'm Cavifeal, a Javascript developer, I make contributions & create some projects.
- Brazil
-
13:37
(UTC -03:00) - https://gitlab.com/CVFA
- https://cvfa.vercel.app/
Block or Report
Block or report CVFA-Dev
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePopular repositories
-
1Hosts
1Hosts Public templateForked from badmojr/1Hosts
World's most advanced DNS filter-/blocklists!
HTML
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.