
phone: +380(63)11-36-462
email: v.suprun1961@gmail.com
Telegram: @svictoria1961
Viber: ВИКТОРИЯ
I work in a kindergarten as a music director and as an accompanist in the Palace of Children’s Creativity. I am mastering new professions - Web developer and Web designer. I possess such qualities as responsibility, punctuality, attention, organization, conscientiousness, perseverance, striving for professional self-improvement.
educational institution | Place of work | Job title | Year :———————–:|:——————:|:———:|:———: Kharkov Mechanical College| Machine building plant| Technologist| 1978-1981 Music College| Kindergarten| Musical director| 1981-1986 Pedagogical University| Kindergarten| Musical director| 1987-2023 Pedagogical University| Palace of Children’s Creativity| Accompanist| 1990-2023
Rolling Scopes School 1.1 RS School Course «JavaScript/Front-end. Stage 1» in progress 1.2 RS School Course «JavaScript/Front-end. Stage 0» Certificate
Courses in HTML, CSS and JavaScript. 2.1 Certificate
2.2 Certificate
2.3 Certificate
Digital design UX/UI.
5.1 Certificate
5.2 Certificate
The checkForSpam(message) function accepts a string (the message parameter), checks it for the content of the prohibited words spam and sale, and returns the result of the check. The words in the message parameter string can be in any case, for example SPAM or sAlE.
If a forbidden word (spam or sale) is found, the function returns the boolean true. If there are no forbidden words in the string, the function returns boolean false.
function checkForSpam(message) {
let result;
const normalizedMessage = message.toLowerCase();
if (normalizedMessage.includes("sale")) {
result = true;
} else if (normalizedMessage.includes("spam")) {
result = true;
} else {
result = false;
}
console.log(result);
return result;
}
checkForSpam("Latest technology news");
checkForSpam("JavaScript weekly newsletter");
checkForSpam("Get best sale offers now!");
checkForSpam("Amazing SalE, only tonight!");