add image source array
add an array of image src attributes for baxter thought bubbles
This commit is contained in:
parent
e24d44c242
commit
83e324c4f6
|
@ -60,6 +60,16 @@ const notesForEmma = {
|
|||
don't let it. don't run away`,
|
||||
};
|
||||
|
||||
const baxterThoughtImgSrc = [
|
||||
"../img/baxter-thoughts/baxter-thought-one.webp",
|
||||
"../img/baxter-thoughts/baxter-thought-two.webp",
|
||||
"../img/baxter-thoughts/baxter-thought-three.webp",
|
||||
"../img/baxter-thoughts/baxter-thought-four.webp",
|
||||
"../img/baxter-thoughts/baxter-thought-five.webp",
|
||||
"../img/baxter-thoughts/baxter-thought-six.webp",
|
||||
"../img/baxter-thoughts/baxter-thought-seven.webp"
|
||||
];
|
||||
|
||||
const displayNote = (noteName) => {
|
||||
console.log(`${notesForEmma[noteName.className.split(' ')[0]]}`);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue