GithubHelp home page GithubHelp logo

freecodecampchina / freecodecamp.cn Goto Github PK

View Code? Open in Web Editor NEW
36.6K 36.6K 1.4K 30.23 MB

FCC China open source codebase and curriculum. Learn to code and help nonprofits.

Home Page: https://fcc.asia/

License: Other

JavaScript 18.77% CSS 75.65% HTML 5.58%
career certification cn-freecodecamp community curriculum d3 education freecodecamp javascript learn-to-code math nodejs nonprofits react

freecodecamp.cn's Introduction

扫码加入 FCC-China 社群

FreeCodeCampChina's open source codebase and curriculum

freeCodeCamp is a friendly open source community where you learn to code and help nonprofits.

We help our campers build job-worthy portfolios of real apps used by real people, while helping nonprofits.

You start by working through our self-paced, browser-based full stack JavaScript curriculum.

By working through our curriculum, you can earn four certifications:

1. Front End Certification

The first section will teach you the basics of how webpages work and also introduce you to JavaScript programming.

Skills you'll practice include HTML, CSS, JavaScript, jQuery and Bootstrap.

To earn this certification, you'll build 10 front-end projects and implement many JavaScript algorithms.

2. Data Visualization Certification

The second section builds upon the first and introduces you to more advanced topics such as Sass, React and D3.

To earn this certification, you'll build 5 React-apps and 5 Data visualization apps using D3.js.

3. Back End Certification

The third section introduces you to back end development using Node.js, Express, and MongoDB. It also teaches you about the important concept of source control using Git.

To earn this certification, you'll build 5 APIs and 5 full stack apps.

We will accept solutions implemented in any programming language, as long as both a live demo and the source code are publicly accessible.

4. Full Stack Certification

The fourth section is where you'll get real-world experience by working on projects for nonprofits. We'll pair you with another camper, an agile project manager, and a stakeholder from a nonprofit organization. Together, you'll plan, build and maintain apps that help that nonprofit carry out its mission more effectively.

For this certification, you'll work on two projects from scratch and then maintain/upgrade two existing projects.


This code is running live at freeCodeCamp.cn. We also have Gitter chat rooms, a Medium publication, an interactive forum, a wiki knowledgebase, and even a YouTube channel.

Found a bug?

Do not file an issue until you have followed these steps:

  1. Read the Help I've Found a Bug article and follow its instructions.
  2. Ask for confirmation in the appropriate Help Room.
  3. Please do not open an issue without a 3rd party confirmation of your problem.

Contributing

We welcome pull requests from freeCodeCamp campers (our students) and seasoned JavaScript developers alike! Please follow these steps to contribute.

License

Copyright (c) 2017 freeCodeCamp.

The content of this repository bound by the following LICENSE(S)

  • The computer software is licensed under the BSD-3-Clause.
  • The curricular content as in the ./seed/challenges or subdirectories and our wiki are licensed under the CC-BY-SA-4.0
  • The translation of this website follows the license of CC-BY-NC-4.0,Do not use (it) for commercial/business purpose. 知识共享许可协议

freecodecamp.cn's People

Contributors

abhisekp avatar aldraco avatar alistermada avatar aryanj-nyc avatar benmcmahon100 avatar brandenbyers avatar bugron avatar darthmeme avatar dokkillo avatar erictleung avatar generalzero avatar greenkeeperio-bot avatar hq-dev avatar huluoyang avatar jerrybendy avatar justinian336 avatar ltegman avatar mrrenter avatar natac13 avatar patsul12 avatar quincylarson avatar raisedadead avatar s1ngs1ng avatar sahat avatar saintpeter avatar tegrat avatar terakilobyte avatar vtamara avatar workcheng avatar wudifeixue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freecodecamp.cn's Issues

文字描述错误

Challenge Comparisons with the Logical Or Operator has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

“只有当num大于等于5或小于等于10时,函数返回"Yes"。”这句话中的描述应该是:num小于等于5或者大于等于10.

if (num > 10 || num < 5) {
return "No";
}
return "Yes";

ReferenceError:uncapture is not defined

Challenge Passing Values to Functions with Arguments has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

// 举例
//function ourFunction(a, b) {
//console.log(a - b);
//}
//ourFunction(10, 5); // Outputs 5
//
// Only change code below this line.

what ever you change the code ,the following err info is showed.
=======================
ReferenceError:uncapture is not defined

条件好像有冲突(Conditions seem to be in conflict)

第四个条件:分别为你的3个选择器添加1个类
第五个条件:你的”#target1“元素应该有“animated” “shake" ”btn-primary" 3个类

Condition 4:Only add one class with each of your three selectors.
Condition 5:Your #target1 element should have the class animated‚ shake and btn-primary.

这次的问题是关于css文件

在我本地部署后,表示布局是乱的,应该是css的问题,生成的css文件和官网的css文件不一样,我手动修改了元素改成了/css/mian.css文件,可以得到和官网一样的效果,所以 我想问,各位老大些是不是没有修改less。在网站改版的时候,只是修改了main.css

这是什么BUG

Challenge Sum All Odd Fibonacci Numbers has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var arr=[1,1],result = 0;
function fibs(last,next) {
    if(next<10000000){
      var num = last+next;
      arr.push(num);
      fibs(next,num);
    }
    return arr;
}
function sumFibs(num){
    var arr2 = fibs(1,1);
    console.log(arr2);
    for( var i=0; i<arr2.length; i++){
        if(arr[i]%2==1 && arr2[i]<=num){
            result+=arr2[i];
        }
    }
    return result;
}
sumFibs(75025);

counting card 那个怎么做 194

FreeCodeCamp Issue template

To Use this Template:

  • Fill out what you can
  • Delete what you do not fill out

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/chinese

Issue Description

  • When Issue Happens
  • Steps To Reproduce

Browser Information

  • Browser Name, Version
  • Operating System

Your Code

If relevant, paste all of your challenge code in here

Screenshot

检查对象是否有某属性为什么要用hasOwnProperty

Challenge Testing Objects for Properties

My code:

// Setup
var myObj = {
  gift: "pony",
  pet: "kitten",
  bed: "sleigh"
};

function checkObj(checkProp) {
  // Your Code Here
  if(myObj.hasOwnProperty(checkProp))
  {
    return myObj[checkProp];} 
  else
    {
      return "Not Found";
    }

}

// Test your code by modifying these values
checkObj("gift");

//////
该程序中 if(myObj.hasOwnProperty(checkProp))可以直接写成 if(myObj[checkProp])
所以检查对象是否有某属性为什么还要用hasOwnProperty呢?

116课

题干
中文里面是:给所有id为#target1的按钮添加btn-primary class。
但是英文是:
Your #target1 element should have the class animated‚ shake and btn-primary.
貌似有遗漏,请核实谢谢

who can help me?

Challenge Create Decimal Numbers with JavaScript has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var ourDecimal = 5.7;

// Only change code below this line

HOW IS GOING ON?

Challenge Inform with the Paragraph Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<h1>Hello World</h1>
<h2>我家的猫咪</h2>
<h3>Hello Paragrah</h3>

account-creating failed

Challenge Save your Code Revisions Forever with Git has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
need a visa card , why

Falsy Bouncer

Challenge Falsy Bouncer has an issue.
User Agent is: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function bouncer(arr) {

  return arr.filter(function isTrue(str){
return str!==false&&str!==null&&str!==0&&str!==""&&isNaN(str)!==0;
});
}


bouncer([1, null, NaN, 2, undefined]);

运行其他的都给删掉了,就NaN变成null了,求大神指导

另外,我想问问这些题有没有个官方的解答,这样的话可以自己写完后再借鉴下更好的思路

Translation Error

Translation error on https://www.freecodecamp.cn/challenges/import-a-google-font.
Origin Translation:
现在,让我们来导入谷歌字体。

首先,你需要用link标签来引入谷歌Lobster字体。

复制下面的代码片断并将其粘贴到你的代码编辑器的顶部:

It should be:
现在,让我们来导入谷歌字体。

首先,你需要用link标签来引入谷歌Lobster字体。

复制下面的代码片断并将其粘贴到你的代码编辑器的中:

Do as the origin says will just paste the code into the first line of your code, of course it would import nothing.

Thanks Authors, Good day.

为什么判定我<style>里面没有包含一个将color设置为pink的pink-text CSS class?

Challenge Prioritize One Style Over Another has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<style>
body {
background-color: black;
font-family: Monospace;
color: green;
}
.pink-text{color:pink}
</style>
<h1 class="pink-text">Hello World!</h1>
√ 你的 h1 元素应该包含名为 pink-text 的 class。
× 你的 <style> 包含一个将 color 设置为 pink 的 pink-text CSS class。
√ 你的 h1 元素应该为粉色
请问挑战过关的时候我的第二条不满足?

.

.

run test error

Challenge Comparisons with the Logical And Operator has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2906.0 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function myTest(val) {
  // Only change code below this line

  if (val >= 25 && val <= 50) {
    return "YES";
  }

  // Only change code above this line
  return "No";
}

// Change this value to test
myTest(25);

页面的测试中有一条应该显示为false的,虽然能正常通过挑战

FreeCodeCamp Issue template

To Use this Template:

  • Fill out what you can
  • Delete what you do not fill out

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/chinese

Issue Description

  • When Issue Happens
  • Steps To Reproduce

Browser Information

  • Browser Name, Version
  • Operating System

Your Code

If relevant, paste all of your challenge code in here

Screenshot

https://freecodecamp.cn/challenges/confirm-the-ending

for循环中使用num变量会导致浏览器崩溃

Challenge Sum All Odd Fibonacci Numbers has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function sumFibs(num) {
  var arr=[];
  var sum=0;
  arr[0]=0;
  arr[1]=1;
  for(var i=2;i<4;i++){
    arr[i]=arr[i-2]+arr[i-1];
  }
  return arr;
}

sumFibs(4);

在开始研究题目的时候发现,如果把代码中for循环里的i<4替换成i<num(或者任何变量)就会出现浏览器崩溃,测试浏览器是chrome版本 53.0.2785.143 m

Add Placeholder Text to a Text Field 的错误示范

Challenge Add Placeholder Text to a Text Field has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.95 Safari/537.36 Core/1.50.1280.400 QQBrowser/9.5.9118.400.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

  .smaller-image {
    width: 100px;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back" src="/images/relaxing-cat.jpg"></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<input type="text" placeholder="cat photo URL">

下面是错误示范,这样新建一个input是不能通过的
----------------------------------------------------------------------------------------------
<input type="text" >
<input type="text" placeholder="cat photo URL">
----------------------------------------------------------------------------------------------

Inform with the Paragraph Element中,P应该是小写

Challenge Inform with the Paragraph Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<h1>Hello World</h1>
<h2>我家的猫咪</h2>
<p>Hello Paragraph</p>

P是英文paragraph段落的缩写,经常被用来创建一个段落,就和你写作文一样。

其中,P应该是小写

The arr.shift() is not a function?

Challenge Stand in Line has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function queue(arr, item) {
  // Your code here
  arr=arr.push(item);
  var arrDel=arr.shift();
  return item;  // Change this line
}

// Test Setup
var testArr = [1,2,3,4,5];

// Display Code
console.log("Before: " + JSON.stringify(testArr));
console.log(queue(testArr, 6)); // Modify this line to test
console.log("After: " + JSON.stringify(testArr));

can slove

Challenge Escaping Literal Quotes in Strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var myStr="I am a\"double quoted \" string inside \"double quotes\"";
// Change this line

这个地址http://codepen.io/FreeCodeCamp/full/bELoPJ的CSS中有个疑问

Challenge Build a Random Quote Machine has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

我在看这个网页CSS的源代码时,发现.footer{a {font-weight:500;}} 这个貌似没有起作用啊,怎么改这个里面的weigh值都没反应,但是我改.quote-text值是发现有反应,这是为啥咧。
我的浏览器打开这个网页发现by 和hezag这2个字体没区别,是浏览器问题么,我用的是chrome

弹幕墙链接失效

Challenge Design a danmu app has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
default

HTML挑战-Nest an Anchor Element within a Paragraph

2017年1月20日更新:

看到有较多的人回复了该问题,说明不少人都会在这里卡顿,因此reopen问题,希望相关翻译人员能够考虑是否可以优化下问题表述。
(可能已经做了优化,感觉问题的表述跟以前看到的不一样了,如果已经优化或解决,烦请管理员关闭该问题)

另贴出可执行成功的代码(这个问题本身其实并不复杂,所以直接贴出代码,尽量避免大家在此浪费时间)

<link href="https://fonts.gdgdocs.org/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

  .smaller-image {
    width: 100px;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>View more <a href="http://www.freecatphotoapp.com">cat photos</a></p>

<img class="smaller-image thick-green-border" src="/images/relaxing-cat.jpg">

<p class="red-text">在大家心目中,猫是慵懒的可爱的化身,它可以睡饱了再起来吃饭,可以逗趣小耗子,可以卖得了萌,使得了坏,这样百变的小怪兽就集结在一只宠物上,怎能不惹人怜爱。</p>
<p class="red-text">养动物有的时候,就是介于爱与恨之间,当你钦羡别人萌宠这么可爱的时候,你一定没有想过,狗狗和猫猫会到处拉屎,甚至会屯老鼠,啃鞋子,用爪子爬门,你不理它,它就挠你,你要对它发脾气,它会比你更来劲。所以,狗猫慎入,没有一定的准备,切勿随便去侍养动物。它们一旦认定你了,你就是它们的主人,如果你抛弃它们,它们必定心中重创。</p>

2016年11月8日原问题描述:
运行始终提示有一项不成功(“你的p元素应该包含文本"View more ",注意more后面有一个空格。”)
,但同样代码在英文版中就可以成功。

代码如下:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

  .smaller-image {
    width: 100px;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<a href="http://www.freecatphotoapp.com">cat photos</a>
<p>View more <a href="http://www.freecatphotoapp.com">cat photos</a></p>
<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

te

Challenge Mutations has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function mutation(arr) {
  flag = [];
  for(i = 0; i < arr[0].length; ++i) {
    flag[arr[0][i]] = 1;
  }

  for(i = 0; i < arr[1].length; ++i) {    
    c = arr[1][i];
    if(flag[c] != 1 && flag[c.toUpperCase()] != 1 && flag[c.toLowerCase()] != 1) {
      return "false";
    }
  }

  return "true";
}

mutation(["hello", "hey"]);

nesting for loop

When I study the 'nesting for loop' chapter, I wrote my code and clicked submit, and there exist some problem so do not print the result, and give the advise that add //no protect.

Now I could not open that page.

打错字了

否者, 返回应找回的零钱列表,且由大到小存在二维数组中.
应该是否则吧

IT was unknown

Challenge Manipulate Arrays With unshift has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

// 举例
var ourArray = ["Stimpson", "J", "cat"];
ourArray.shift(); // ourArray now equals ["J", "cat"]
ourArray.unshift("Happy"); 
// ourArray now equals ["Happy", "J", "cat"]

// Setup
var myArray = [["John", 23], ["dog", 3]];
myArray.shift();

// Only change code below this line.
myArray.unshift("[\"Paul\",35]");

怎么过不去啊0..

Challenge Local Scope and Functions has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function myFunction() {
  var myVar = 'use strict';


  console.log(myVar);
}
myFunction();
// run and check the console 
// myVar is not defined outside of myFunction

// now remove the console log line to pass the test

canvas 不支持?

Challenge Say Hello to HTML Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<h1>Hello</h1>
<canvas width="100px" heihgt="200px" id="myCanvas"></canvas>
<h3> 12345</h3>
<script type="text/javascript">
var c=document.getElementById("myCanvas");
var cxt=c.getContext("2d");
cxt.fillStyle="#FF0000";
cxt.fillRect(0,0,150,75);
</script>

Friendly Date Ranges翻译“不超一年”不准确

Issue Description

  • Friendly Date Ranges (advanced-bonfires.json)

这道题目的中“不超一年”和“不超过一年”的翻译不够准确,英文原文是"less than a year"和"within one year",表示的是小于一年(不包括正好是一年的情况),而“不超过一年”的意思一般是包括正好是一年的情况,容易引起歧义,然后导致最后一个测试用例不能通过,建议改为“小于一年”。

bug about "Change Text Inside an Element Using jQuery"

Challenge Change Text Inside an Element Using jQuery has an issue.
User Agent is: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<script>
  $(document).ready(function() {
    $("#target1").css("color", "red");
    $("#target4").html("<em>target4</em>");
  });
</script>

<!-- Only change code above this line. -->

<div class="container-fluid">
  <h3 class="text-primary text-center">jQuery Playground</h3>
  <div class="row">
    <div class="col-xs-6">
      <h4>#left-well</h4>
      <div class="well" id="left-well">
        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>
      </div>
    </div>
    <div class="col-xs-6">
      <h4>#right-well</h4>
      <div class="well" id="right-well">
        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>
      </div>
    </div>
  </div>
</div>

it appears #target5 twice when run tests

Clone an Element Using jQuery

<script> $(document).ready(function() { $("#target1").css("color", "red"); $("#target1").prop("disabled", true); $("#target4").remove(); $("#target2").appendTo("#right-well"); _$("#target5").clone().appendTo("#left-well");_ }); </script>

it does work well when i add the code $("#target5").clone().appendTo("#left-well");
but when i clicked the button {run tests} it appeared the #target5 twice in the #left-well in the display area

我在社区用gitter聊天时 发现多了好多两人的私聊房间,而且只能hide不能删除,想知道怎么删除私聊的房间

FreeCodeCamp Issue template

To Use this Template:

  • Fill out what you can
  • Delete what you do not fill out

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/chinese

Issue Description

  • When Issue Happens
  • Steps To Reproduce

Browser Information

  • Browser Name, Version
  • Operating System

Your Code

If relevant, paste all of your challenge code in here

Screenshot

Error: Cannot find module 'passport-juhe'

一晚上折腾了5个多小时,没弄出来。

如果不执行npm install passport-juhe会得到以下错误,这是在gulp下得到的,已经测试本地电脑搭建英文版fcc没问题,npm run only-once来初始化数据库也会得到 相同的错误。

如果我安装了passport-juhe那么他会提示我需要一个auth2的一个client iD,根据 wiki注册了一个邮箱账号,将该id和密码写入到.env配置文件中,该问题依旧存在。尝试使用GitHub的api,我很不幸的表示,我仍然得到同样的错误。

  • 操作系统:macOS 10.12
  • node.js :v6.7.0
  • npm : 3.10.3
  • mongodb: v3.2.10
strong-remoting deprecated The built-in CORS middleware provided by REST adapter was deprecated. See https://docs.strongloop.com/display/public/LB/Security+considerations for more details. node_modules/.2.32.0@strong-remoting/lib/remote-objects.js:97:25
Error: Cannot find module 'passport-juhe'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Function._load (/Users/bob/freecodecamp/node_modules/.0.5.9@pmx/lib/transaction.js:62:21)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at PassportConfigurator.configureProvider (/Users/bob/freecodecamp/node_modules/.2.2.0@loopback-component-passport/lib/passport-configurator.js:158:22)
    at /Users/bob/freecodecamp/server/server.js:91:24
    at Array.map (native)
    at Object.<anonymous> (/Users/bob/freecodecamp/server/server.js:88:32)
    at Module._compile (module.js:556:32)
    at loader (/Users/bob/freecodecamp/node_modules/.6.16.3@babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/bob/freecodecamp/node_modules/.6.16.3@babel-register/lib/node.js:154:7)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Function.Module.runMain (module.js:590:10)
[07:23:05] [nodemon] app crashed - waiting for file changes before starting...

报错有问题

Challenge Concatenating Strings with Plus Operator has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

// 举例
var ourStr = "I come first. " + "I come second.";

// Only change code below this line

var myStr; 
myStr="This is the start."+"This is the end.";

Sum All Odd Fibonacci Numbers 翻译有误

"返回所有小于传入数值的斐波那契数列中的奇数之和"
原文“Return the sum of all odd Fibonacci numbers up to and including the passed number
应该是"小于或等于"

键盘无法输入

Challenge Say Hello to HTML Element has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<h1>Helo</h1>

bug --1can't display heading 2can't meet requirement of blue color

Challenge Use CSS Selectors to Style Elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<style>
  我家的猫咪
  h2 {color:blue;}
</style>

<p>在大家心目中,猫是慵懒的可爱的化身,它可以睡饱了再起来吃饭,可以逗趣小耗子,可以卖得了萌,使得了坏,这样百变的小怪兽就集结在一只宠物上,怎能不惹人怜爱。</p>

[266]Seek and Destroy的问题

Challenge Seek and Destroy has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function destroyer(arr) {
  var arrt=new Array();
  var attt=arr.slice(1,arr.length);
  for(i=0;i<arr[0].length;i++){
     if(attt.indexOf(arr[0][i])<0){
        arrt.push(arr[0][i]);
      }
   }
  return arrt;
}

destroyer([[1, 2, 3, 1, 2, 3], 2, 3]);

通过在JS Bin中测试,我的函数是达到这个功能的。这个题目中,arr=[1, 2, 3, 1, 2, 3], 2, 3的这种定义有问题,这既不是一个字符串,也不是一个数组。题目本来想的定义arr应该是个数组,应该定义为arr=[[1, 2, 3, 1, 2, 3], 2, 3],即一个二维数组,所以题目里的测试也应该再加上一组[ ].

我的E-mail为:[email protected]

Wiki看不了orz

莫名其妙点wiki就自动转跳code

其实并不知道是不是我的问题orz 总之说一下吧

这个哪里出问题了?

Challenge Size your Images has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }
  img.smaller-image
  {
    width:100px;

  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<img class="smaller-image" src="/images/relaxing-cat.jpg">

<p class="red-text">在大家心目中,猫是慵懒的可爱的化身,它可以睡饱了再起来吃饭,可以逗趣小耗子,可以卖得了萌,使得了坏,这样百变的小怪兽就集结在一只宠物上,怎能不惹人怜爱。</p>
<p class="red-text">养动物有的时候,就是介于爱与恨之间,当你钦羡别人萌宠这么可爱的时候,你一定没有想过,狗狗和猫猫会到处拉屎,甚至会屯老鼠,啃鞋子,用爪子爬门,你不理它,它就挠你,你要对它发脾气,它会比你更来劲。所以,狗猫慎入,没有一定的准备,切勿随便去侍养动物。它们一旦认定你了,你就是它们的主人,如果你抛弃它们,它们必定心中重创。</p>

html第22,不能过关

FreeCodeCamp Issue template

To Use this Template:

  • Fill out what you can
  • Delete what you do not fill out

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/chinese

Issue Description:任务有一项是:你的p元素应该包含文本"View more ",注意more后面有一个空格。。。我代码里View more 后面有一个空格,都是对的啊。为什么不让过?

Your Code

<style> .red-text { color: red; } h2 { font-family: Lobster, Monospace; } p { font-size: 16px; font-family: Monospace; } .thick-green-border { border-color: green; border-width: 10px; border-style: solid; border-radius: 50%; } .smaller-image { width: 100px; } </style>

CatPhotoApp

View more cat photos

cat photos

在大家心目中,猫是慵懒的可爱的化身,它可以睡饱了再起来吃饭,可以逗趣小耗子,可以卖得了萌,使得了坏,这样百变的小怪兽就集结在一只宠物上,怎能不惹人怜爱。

养动物有的时候,就是介于爱与恨之间,当你钦羡别人萌宠这么可爱的时候,你一定没有想过,狗狗和猫猫会到处拉屎,甚至会屯老鼠,啃鞋子,用爪子爬门,你不理它,它就挠你,你要对它发脾气,它会比你更来劲。所以,狗猫慎入,没有一定的准备,切勿随便去侍养动物。它们一旦认定你了,你就是它们的主人,如果你抛弃它们,它们必定心中重创。

If relevant, paste all of your challenge code in here

View more cat photos

#### Screenshot

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.