Here is the code I added for MDN arrays practice problem #4. How does this look? My codepen is below:
The instructions for the topic are at https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Test_your_skills:_Arrays
Here is the code I added for MDN arrays practice problem #4. How does this look? My codepen is below:
The instructions for the topic are at https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Test_your_skills:_Arrays
Hi @sskbinder and welcome to the community
Great work on this task! Everything is correct.
Nice check for the existence of “Eagles” before the splice()
.
On a general note: For further exercises it would be good to put CSS and JS into their respective CodePen panels instead of putting everything into the HTML panel. It would improves the readability, but it’s not a big deal.
Keep up the good work!
Happy Coding,
Michael
PS: Your email address is visible in your post. I think it somehow ended up in the optional “name” field of your profile. I recommend removing it.
ah thanks!! Very helpful