Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 2020 20:09
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
Marianissimus
@Marianissimus
@PerpetualWar you just over-ride the background-color style, not the width. So - you want the div inside the container-fluid to be a different color? Make it have a class of "row mystyle", and then write the color in the css: .mystyle {background-color: red;}
abhijith shenoy
@shenoyabhijith
yay @khaduch working
thanks @khaduch
CamperBot
@camperbot
shenoyabhijith sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 2322 | @khaduch |http://www.freecodecamp.com/khaduch
Ken Haduch
@khaduch
@shenoyabhijith :+1: great! Good luck!
abhijith shenoy
@shenoyabhijith
:smile: :+1:
can some 1 explain in brief how this wiki pedia api works
looks so complicated
Srđan Međo
@PerpetualWar
@Marianissimus thanks for your reply.... I will try to make it work now
CamperBot
@camperbot
perpetualwar sends brownie points to @marianissimus :sparkles: :thumbsup: :sparkles:
:cookie: 333 | @marianissimus |http://www.freecodecamp.com/marianissimus
Srđan Međo
@PerpetualWar
Apparently my body in css had margins set which prevented container-fluid to reach end of the browser.
Muhammad Hasham
@MuhammadHasham23
can anyone give me some example of any app that is purely made of JS.
How do you define scope of JS apps?
Is JS only used in websites?if not then where else it is used.And in combination to what?
Ken Haduch
@khaduch
@shenoyabhijith - I haven't done the wikipedia project, yet, but basically you make an AJAX request to the URL, with all of the parameters appropriately filled in, and it processes your request and returns the data. Your callback function is then triggered, and you have to get the JSOn data that they provide and break it down into the various articles or whatever information they provide and parse it into information that you then present to your HTML page as HTML code (through jquery or javascript functions, adding information to the DOM.) From what I've seen of the wikipedia data, they provide three sections in the information, the list of articles, some summary info, and I think a third one which I cannot remember. I think that I saved one of them on codebeautify, I wonder if I can find that?
abhijith shenoy
@shenoyabhijith
thank you so much @khaduch that was so much help !
CamperBot
@camperbot
shenoyabhijith sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 2323 | @khaduch |http://www.freecodecamp.com/khaduch
Ken Haduch
@khaduch
@shenoyabhijith - I did find a link to the results for searching for "potato" on wikipedia - http://codebeautify.org/jsonviewer/cbb94735 - it shows the structure of the returned data, not exactly as I remembered it, but there is an array of objects for the various pages that it found matching your query. Maybe helpful as you start to write that code, although you can take your own JSON data and put it in the Code Beautify site and have it format it.
abhijith shenoy
@shenoyabhijith
awesome ill start coding probably later tonite
now need a break :fire: :smile:
Ken Haduch
@khaduch
@shenoyabhijith - definitely good to take a break before starting this one! :) Enjoy your break!
Pieter Stokkink
@forkerino
@MohammadHasham There's many of them. Many apps use another language in the backend, like Ruby or Python or Java, but it is possible to use NodeJS as well, which is JavaScript, and makes communication between front and backend quite easy. Pretty much anything that can be made for the web, could theoretically be made using just JS, HTML and CSS (often with the addition of a database). You'll learn these techniques in the backend portion here on FCC. This of course doesn't mean that JS is always the best choice for the backend.
Nowadays it is also possible to make non-web applications in JS, using Electron. So JS is pretty flexible in that regard.
JD Tadlock
@jdtdesigns
@forkerino I love Node, but Laravel/Vue has grown on me. What's ur fav?
Pieter Stokkink
@forkerino
@khaduch @shenoyabhijith I'm using a Chrome Add On called JSON Viewer, which basically does similar things as the codebeautify site, but no need to copy paste the code. It just transforms JSON to something easier to read. With lots of custom styling options.
Sorin Ruse
@sorinr
@jdtdesigns Laravel its in my heart as a php frame. i like also a lot symfony
Pieter Stokkink
@forkerino
@jdtdesigns Well, I'm just getting started, so far only used node.
aenila
@aenila
Good morning everybody!
Sorin Ruse
@sorinr
@aenila good morning
aenila
@aenila
I'm working on the random quote machine right now. Got it working yesterday. Today it will work on my mobile browser but not my desktop even though I haven't made any changes since I tested. Anybody ever come across this before?
JD Tadlock
@jdtdesigns
@aenila Sounds like a CORS error in Chrome.
Post your pen
Sorin Ruse
@sorinr
@aenila how do u load the pen http or https?
aenila
@aenila
It's loaded https on my desktop
The tweet link/button isn't finished, but on my mobile browser the new quote button works find
fine*
Sorin Ruse
@sorinr
@aenila that api its working on http only so load the pen over http
aenila
@aenila
Oh. Thank you.
Frank
@Frankbono
Hi I am having a problem with a Javascript challenge "Profile Lookup" I just can't see what I did wrong with my code here. Please help https://www.freecodecamp.com/challenges/profile-lookup

//Setup
var contacts = [
    {
        "firstName": "Akira",
        "lastName": "Laine",
        "number": "0543236543",
        "likes": ["Pizza", "Coding", "Brownie Points"]
    },
    {
        "firstName": "Harry",
        "lastName": "Potter",
        "number": "0994372684",
        "likes": ["Hogwarts", "Magic", "Hagrid"]
    },
    {
        "firstName": "Sherlock",
        "lastName": "Holmes",
        "number": "0487345643",
        "likes": ["Intriguing Cases", "Violin"]
    },
    {
        "firstName": "Kristian",
        "lastName": "Vos",
        "number": "unknown",
        "likes": ["Javascript", "Gaming", "Foxes"]
    }
];


function lookUpProfile(firstName, prop){
// Only change code below this line
    for (i = 0; i < contacts.length; i++) {
      if (contacts[i].firstName === firstName) {
        if (contacts[i].firstName.hasOwnProperty(prop)) {
          return contacts[i].prop ;
        } else {
          return "No such property";
        }
      }
    }
// Only change code above this line
}

// Change these values to test your function
lookUpProfile("Akira", "likes");
aenila
@aenila
The problem is in your nested if statement I believe. Double check where you're asking it to look for the prop value
Also check the requirements of the challenge. I think you need to notify the user if the name is not found. Otherwise it looks like you're pretty close.
Frank
@Frankbono
ok I going to tweek it now
aenila
@aenila
Can anybody point me in the right direction on what to look up to learn how to make the tweet button work? I can't figure out how to take the quotes and pass them to the link for the twitter post.
Sorin Ruse
@sorinr
@Frankbono just read again that challenge request. where do u return "No such contact" in case there is no match for a contact?
caseym94
@caseym94
yo
need help achieving that imgur in the codepen