freecodecampchina / freecodecamp.cn Goto Github PK
View Code? Open in Web Editor NEWFCC China open source codebase and curriculum. Learn to code and help nonprofits.
Home Page: https://fcc.asia/
License: Other
FCC China open source codebase and curriculum. Learn to code and help nonprofits.
Home Page: https://fcc.asia/
License: Other
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>
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]");
在我本地部署后,表示布局是乱的,应该是css的问题,生成的css文件和官网的css文件不一样,我手动修改了元素改成了/css/mian.css文件,可以得到和官网一样的效果,所以 我想问,各位老大些是不是没有修改less。在网站改版的时候,只是修改了main.css
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应该是小写
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"]);
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
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.
To Use this Template:
NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/chinese
If relevant, paste all of your challenge code in here
"返回所有小于传入数值的斐波那契数列中的奇数之和"
原文“Return the sum of all odd Fibonacci numbers up to and including the passed number”
应该是"小于或等于"
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.
否者, 返回应找回的零钱列表,且由大到小存在二维数组中.
应该是否则吧
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.
To Use this Template:
NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/chinese
If relevant, paste all of your challenge code in here
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
其实并不知道是不是我的问题orz 总之说一下吧
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>
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]
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>
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));
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.";
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
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);
To Use this Template:
NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/chinese
If relevant, paste all of your challenge code in here
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了,求大神指导
另外,我想问问这些题有没有个官方的解答,这样的话可以自己写完后再借鉴下更好的思路
我是在做第23个任务时发现给img添加了边框,其width并没有改变。看了下控制台,发现使用了bootstrap,默认box-sizing:border-box;
我认为这样对于初学者会有误导,所以是否向用户提前说明(添加一个简单提示)会好一些?
.
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>
题干
中文里面是:给所有id为#target1的按钮添加btn-primary class。
但是英文是:
Your #target1 element should have the class animated‚ shake and btn-primary.
貌似有遗漏,请核实谢谢
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 元素应该为粉色
请问挑战过关的时候我的第二条不满足?
My code:
<h3 class="text-primary text-center">jQuery Playground</h3>
<div></div>
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呢?
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>
这道题目的中“不超一年”和“不超过一年”的翻译不够准确,英文原文是"less than a year"和"within one year",表示的是小于一年(不包括正好是一年的情况),而“不超过一年”的意思一般是包括正好是一年的情况,容易引起歧义,然后导致最后一个测试用例不能通过,建议改为“小于一年”。
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>
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);
一晚上折腾了5个多小时,没弄出来。
如果不执行npm install passport-juhe
会得到以下错误,这是在gulp
下得到的,已经测试本地电脑搭建英文版fcc没问题,npm run only-once
来初始化数据库也会得到 相同的错误。
如果我安装了passport-juhe
那么他会提示我需要一个auth2的一个client iD,根据 wiki注册了一个邮箱账号,将该id和密码写入到.env
配置文件中,该问题依旧存在。尝试使用GitHub的api,我很不幸的表示,我仍然得到同样的错误。
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 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">
----------------------------------------------------------------------------------------------
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
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
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
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 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
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.
if (num > 10 || num < 5) {
return "No";
}
return "Yes";
To Use this Template:
NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://gitter.im/FreeCodeCamp/chinese
View more cat photos
在大家心目中,猫是慵懒的可爱的化身,它可以睡饱了再起来吃饭,可以逗趣小耗子,可以卖得了萌,使得了坏,这样百变的小怪兽就集结在一只宠物上,怎能不惹人怜爱。
养动物有的时候,就是介于爱与恨之间,当你钦羡别人萌宠这么可爱的时候,你一定没有想过,狗狗和猫猫会到处拉屎,甚至会屯老鼠,啃鞋子,用爪子爬门,你不理它,它就挠你,你要对它发脾气,它会比你更来劲。所以,狗猫慎入,没有一定的准备,切勿随便去侍养动物。它们一旦认定你了,你就是它们的主人,如果你抛弃它们,它们必定心中重创。
If relevant, paste all of your challenge code in here
View more cat photos
#### Screenshot第四个条件:分别为你的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.
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>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.