## Briefly about me
I’m sudent Yandex.Practicum and Rolling Stone School in the direction of Frontend development. I easily learn new things, I have good logic, I love clean and beautiful code. I’ve bachelor’s degree in technosphere security, but I want to create and see the result of the work and that’s why I like the frontend.
In this kata you need to check the provided array (x) for good ideas ‘good’ and bad ideas ‘bad’. If there are one or two good ideas, return ‘Publish!’, if there are more than 2 return ‘I smell a series!’. If there are no good ideas, as is often the case, return ‘Fail!’.
function well(x){
let i = 0
x.forEach((item) => {
if (item == "good") {
i++;
}})
if (i > 2) {
return 'I smell a series!'
} else if (i <= 2 && i > 0) {
return 'Publish!'
} else {
return 'Fail!'}
}