Skip to content

Instantly share code, notes, and snippets.

View stefancoding7's full-sized avatar
🧑‍🚀
HAAAAARD LEARNING

Stefan Caky stefancoding7

🧑‍🚀
HAAAAARD LEARNING
View GitHub Profile
@stefancoding7
stefancoding7 / index.html
Created May 30, 2020 14:49
Piano keys Codecademy solution (HTML, CSS, JAVASCRIPT)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<p class='title'>Piano Player</p>
@stefancoding7
stefancoding7 / index.html
Created May 24, 2020 17:57
Chore Door Codecademy solution/HTML,CSS,JAVASCRIPT(Three doors game)
<!DOCTYPE html>
<html>
<head>
<title>Chore Door!</title>
<link href="./style.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Work+Sans" rel="stylesheet" type="text/css">
</head>
@stefancoding7
stefancoding7 / message.js
Created May 2, 2020 21:47
Message Mixer Codecademy solution javascript
import { countCharacter, capitalizeFirstCharacterOfWords, reverseWord, reverseAllWords, replaceFirstOccurence, replaceAllOccurrences, encode, palindrome, pigLatin} from './messageMixer';
function displayMessage() {
console.log(countCharacter("What is the color of the sky?", "t"));
console.log(capitalizeFirstCharacterOfWords("What is the color of the sky?"));
console.log(reverseWord("What is the color of the sky?"));
console.log(reverseAllWords("What is the color of the sky?"));
console.log(replaceFirstOccurence("What is the color of the sky?", "sky", "water"));
console.log(encode("What is the color of the sky?"));
console.log(palindrome("What is the color of the sky?"));
console.log(pigLatin("What is the color of the sky?", "yq "));
@stefancoding7
stefancoding7 / library.js
Last active June 1, 2024 06:49
Build a library-Codecademy solution(Javascript)
class Media {
constructor(title) {
this._title = title;
this._ratings = [];
this._isCheckedOut = false;
}
// getters for title, isCheckedOut and ratings
get title() {
return this._title;