Web Development Maverick From Finland
Expand to see how i make a project awesome
class HenrikkiGren {
constructor() {
this.skills = {
javascript: 'Crafting interactive experiences',
html: 'Building the foundation',
css: 'Styling with flair',
sql: 'Querying the data'
}
}
makeProjectAwesome(project) {
project.isAwesome = true;
console.log(`With my skills, I'm making ${project.name} an awesome project!`);
}
}
class Project {
constructor(name) {
this.name = name;
this.isAwesome = false;
}
addContributor(contributor) {
if (contributor instanceof HenrikkiGren) {
contributor.makeProjectAwesome(this);
}
}
getStatus() {
console.log(`${this.name} is ${this.isAwesome ? 'now an awesome' : 'still not an awesome'} project.`);
}
}
const myProject = new Project('the Project');
const henrikki = new HenrikkiGren();
myProject.addContributor(henrikki);
myProject.getStatus();
Projects:
- I have my creativity captured in: Github projects
Portfolio:
- Witness my web magic: Here
Contact:
- Ignite the collaboration spark: Reach out via my portfolio!
Github Stats