Help me with Wikipedia viewer

Help me with Wikipedia viewer


I am stuck in json parsing,
please help me -

  • console is not showing json file

  • also font awesome is not showing up


You are missing parens on line 17


What is with the url on line 24?


check it now please,i had pasted incomplete url before


You are still missing parens (line 16) and you didn’t change the name of url on line 24.

You code corrected:

$(document).ready(function() {
  $(".btn").on("click", getRand);
  var formInput = $(".form-control").value;

  var apiurl = "" + formInput + "&prop=revisions&rvprop=content&format=json&callback=?";
  $.getJSON(apiurl, function(data) {


now i understood the parentheses and now feeling stupid,thanks,also font awesome is not loading


Is loading for me:


it was not loading in firefox but worked fine in chrome,tnks anyways