/    Sign up×
Community /Pin to ProfileBookmark

A little JS assistance for a newbie ..

Hello! hoping someone can help! I’m very new to coding in js, could someone help me in doing a script for the following parameters:

  • loop and a conditional statement

  • find the value of the number of dogs in the following collection of key-value pairs:

  • KennelCapacity = {cats: 7, hamsters: 12, birds: 21, dogs: 3, chickens: 1}

    Thank you very kindly in advance!!

    to post a comment
    JavaScript

    3 Comments(s)

    Copy linkTweet thisAlerts:
    @JMRKERMar 05.2021 — Where is your attempt at a solution to this request?
    Copy linkTweet thisAlerts:
    @johnwheatley94Mar 05.2021 — I would suggest WordPress for this purpose because a lot of people who run their own blog sites, use WordPress. And there’s no denying the fact that their support is amazing with tons of plugins and it makes it easier to use.

    Some people also use free or paid services for their blogs but that’s totally fine. If you are going to install something on your server, you should definitely go for WordPress. check your internet speed click here [speedput](https://www.speedput.com/)

    And if you are one of those who don’t have the server, don’t worry because most ISPs already have a setup for WordPress and if they don’t have one, you can visit this site
    Copy linkTweet thisAlerts:
    @VITSUSAMar 05.2021 — @Mik123#1628886 Please let me know to solve this problem where are you stuck?
    ×

    Success!

    Help @Mik123 spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.21,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...