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
Nikhil Goyal
@ngoyal100894
$(document).ready(function () {
  $('#get-data').click(function () {
    var showData = $('#show-data');

    $.getJSON('example.json', function (data) {
      console.log(data);

      var items = data.items.map(function (item) {
        return item.key + ': ' + item.value;
      });

      showData.empty();

      if (items.length) {
        var content = '<li>' + items.join('</li><li>') + '</li>';
        var list = $('<ul />').html(content);
        showData.append(list);
      }
    });

    showData.text('Loading the JSON file.');
  });
});
just need to understand this <Li >part
What is happening here ..
Narendro
@Narendro
hi guys... need your review
trần nguyễn minh anh
@Anntran2222
i forget how to make the words italic. can someone show me?
Narendro
@Narendro
font-style: italic;
thekairath
@thekairath
@Narendro navs/content empty, and there is a space which looks bad at slider but other than that very nice.
@Anntran2222 or are you looking for <em> tag?
trần nguyễn minh anh
@Anntran2222
yeah
but i forget how to use it @thekairath
Narendro
@Narendro
@thekairath navs/content empty? i don't get what you mean... yeah i miss calculated image size for the slide
<em>hello world</em>
@thekairath did you mean no link for Jobs and Contact Us? I haven't work it yet
thekairath
@thekairath
yup
pgjones72
@pgjones72
hey guys, for the Twitch viewer thingy, do we have to register for Twitch or get a key to access their API?
Rune Bak Jacobsen
@runebakjacobsen
@pgjones72 No i don't have to register
pgjones72
@pgjones72
@runebakjacobsen Thanks! Now I just have to figure it out :)
CamperBot
@camperbot
pgjones72 sends brownie points to @runebakjacobsen :sparkles: :thumbsup: :sparkles:
Rune Bak Jacobsen
@runebakjacobsen
@pgjones72 there is a example of how to use it in the assignment
pgjones72
@pgjones72
@runebakjacobsen Yeah. I still have problems figuring out how it works and how to apply it
Greg Duncan
@GregatGit
@pgjones72 here is a url to play with - put one of the channels at the end https://api.twitch.tv/kraken/streams/
juw3lstar
@juw3lstar
This message was deleted
ERWIN JOHN T. CARPIO, MD, FPCR
@RadEdje

Hi everyone.... I was hoping to ask for help regarding the wikipedia viewer project.

I can get the json from wikipedia with jquery

I can build the url or wikipedia api request and plug it into my var wikiSearch
using

$.getJSON(wikiSearch, function(json){});

but I can't seem to parse the result? firefox sends this error message

SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

so what is the difference between json and jsonP? Am I suppose to convert the response to jsonP?

Is jquery the problem?

Do I have to make a manual AJAX request using xhttp and then manually convert the text response?

Basically after getting the json

After plugging in

console.log(json);

I don't get anything. I can't access the json childs either with json[0][0]
or even with json.continue.plcontinue etc.

Any advice would be much appreciated.

Thanks!

Greg Duncan
@GregatGit
what is your url you are using @RadEdje
aksoybekir
@aksoybekir
Hello I m new to this community
I need a help about css is there anyone can help me ?
Olawale Akinseye
@brainyfarm
welcome to freeCodeCamp @aksoybekir .
Sure.
What issue are you having?
aksoybekir
@aksoybekir
Thank you
First I m trying to upload a photo and I ll explain
Olawale Akinseye
@brainyfarm
Drag the photo to the chat window @aksoybekir .
This message was deleted
aksoybekir
@aksoybekir
buton.jpg
how can I delete the rectangle border around the button?

yuvarlak{

width:500px;
height:500px;
margin:5px auto 5px auto;
border-radius:500px;
background-color:blue;
text-align:center;
display:table;
}

buton{

width:75px;
height:40px;
margin:0px auto 0px auto;
border:none;
border-radius:20px;
background-color:#90CAF9
}

buton:hover{background-color:#2196F3;}

buton:active{background-color:#90CAF9}

Yuvarlak is the main blue area
Thanks for ur helps in advance is there anyone who can help?
Olawale Akinseye
@brainyfarm
@aksoybekir
Did you misspell button?
You have buton.
@aksoybekir
Add this:
outline: none;
aksoybekir
@aksoybekir
it is the id of button
Woow thank you
@brainyfarm thanks
CamperBot
@camperbot
aksoybekir sends brownie points to @brainyfarm :sparkles: :thumbsup: :sparkles:
:star2: 1869 | @brainyfarm |http://www.freecodecamp.com/brainyfarm
Olawale Akinseye
@brainyfarm
Keep coding man @aksoybekir :D
Nikhil Goyal
@ngoyal100894
Hey I have written my code in jquery .the code I added was in js portion of codepen . Now if I want to send proper files to somebody over server .. any body have any idea how to link this file to my html file ?
Olawale Akinseye
@brainyfarm
You mean file upload @ngoyal100894 ?
Nikhil Goyal
@ngoyal100894
yeah .. what i meant, codepen has its own way to link files .. now I want to run files over my localhost .. how to link them like my whatever jquery I have written in my js section can link to my html