Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Ghost
@ghost~55a04b725e0d51bd787af54c
No, I'm trying to solve a math problem
lagunasurfer
@lagunasurfer
oh
Ghost
@ghost~55a04b725e0d51bd787af54c
Yeah, no that's not what I need, but thanks for trying
prreciate it
lagunasurfer
@lagunasurfer
sure
goodluck
Ghost
@ghost~55a04b725e0d51bd787af54c
thx
habibaatify
@habibatify_twitter
i know HTML ,CSS, JS,Jquery,php,laravel, angular now i want to work on real project not just for practices.what is your advice for me?
Dhaval Vira
@dhavalveera
@habibatify_twitter you want to Work as Freelancer or as Employee ?
habibaatify
@habibatify_twitter
freelancer
Dhaval Vira
@dhavalveera
@habibatify_twitter message me directly
coderNewby
@coderNewby
pm for you @DarrenfJ will be heading into jquery. thanks
CamperBot
@camperbot
codernewby sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2437 | @darrenfj |http://www.freecodecamp.org/darrenfj
David Rivera
@dvriv
Hello
For the Twitch API project, can I use the client ID and secret that twitch gives you?
I want to include a search channel function on my app and the suggested api doesn't provide the search endpoint
Sorin Ruse
@sorinr
@dvriv yes. you can use your client id provided by twitch for the registered app. you can delete it anytime and get a new one if you feel someone is abusing your id
David Rivera
@dvriv
ok thank you @sorinr
Sorin Ruse
@sorinr
@dvriv welcome
Austin Tice
@AustinTice
Hello all!
Stephen James
@sjames1958gm
@AustinTice :wave:
Austin Tice
@AustinTice
How's everybody doing
Stephen James
@sjames1958gm
@AustinTice Chillin' on a Sunday morning
AbrisM
@AbrisM
Watching some vids
mustimuu
@mustimuu

Hey guys & Girls

I am trying to transfer the parent style to the child-theme in wordpress. But it doesent seem to work. Heres the code:

<?php
function my_theme_enqueue_styles() {

    $parent_style = 'understrap-style'; // This is 'understrap-style' for the understrap theme.

    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style',
        get_stylesheet_directory_uri() . '/style.css',
        array( $parent_style ),
        wp_get_theme()->get('Version')
    );
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
CrispyCB
@CrispyCB
Hey all, can I get some help with the object lookup problem?
mustimuu
@mustimuu


/*
Theme Name: understrap Child
Theme URI: http://beproductive.dk/understrap-child/
Description: understrap Child Theme
Author: Musti
Author URI: http://bepductive.dk
Template: understrap
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: understrap-child
*/
Travis Tan
@TravisTtk

https://codepen.io/TravisTtk/pen/bvWwBp

hey guys need some help on this.
1) how can i align the "Experience" with the text on the right side of it?
2) The vertical grey background color only fills the window but when i scroll it doesn't fill all the way to the right.

some advices would be much appreciated!

CrispyCB
@CrispyCB

function phoneticLookup(val) {
var result = "";

// Only change code below this line
var lookup = {
"alpha":"Adams",
"bravo":"Boston",
"charlie":"Chicago",
"delta":"Denver",
"echo":"Easy",
"foxtrot":"Frank"
};

// Only change code above this line
return result;
}

// Change this value to test
phoneticLookup("alpha");

is my code, and I'm not sure why it's returning errors.

Stephen James
@sjames1958gm
@CrispyCB you aren't modifying the returned value
CrispyCB
@CrispyCB
How do you mean?
Stephen James
@sjames1958gm
@CrispyCB return result is returning the value of the variable result which is not modified by your code
CrispyCB
@CrispyCB
Right...?
So should it be var result then?
Or is there something that needs to be done before it returns the result?
e.g. result == something?
Stephen James
@sjames1958gm
@CrispyCB After your lookup object to assign something to result (before the return)
result = something (single = for assignment)
CrispyCB
@CrispyCB
Right. Now to figure out what to assign it to.
Stephen James
@sjames1958gm
@CrispyCB :+1:
@CrispyCB Using the input parameter val and your object lookup
CrispyCB
@CrispyCB
so result = lookup[val] or result = lookup(val)?
Stephen James
@sjames1958gm
The first one
lookup(val) is calling a function lookup
CrispyCB
@CrispyCB
Right. Thanks!
M98Ani
@M98Ani
CrispyCB
@CrispyCB

So I'm managing to get one test to pass, but not the other two:

function checkObj(checkProp) {
if (myObj.hasOwnProperty("gift")){
return "pony";
}
if (myObj.hasOwnProperty("pet")){
return "kitten";
}
if (myObj.hasownProperty("house")) {
return "Not Found";
}
}

The first if statement passes, but not the other two.

Yogender
@yb1997
That's cuz as soon as first if statement becomes true the inner content runs i.e. return "pony"
Anything after return statement won't be executed cuz program has already exited from the function as soon as it saw return