-
# 介绍
现在我们从JSON API里获得数据,在HTML里展现出来。
我们可以用`.forEach()`方法获得(loop)数据,并修改HTML元素。
# 方法
首先,声明html 变量`var html = ""`;
然后,去loop `JSON`,增加更多的HTML元素到那个变量,当循环(loop)结束,我们在render它。
下面是代码
```
j…
-
Would it be possible to make the language specific favicon optional? I use only one instance and the new colorful favicons are a distraction. E.g.:
> - [x] Enable language specific favicons
_Ori…
-
api-stage works, but https fails: https://api-stage.freecodecamp.org/stage/api
```This site can’t provide a secure connection
api-stage.freecodecamp.org uses an unsupported protocol.
ERR_SSL_VERS…
-
### Describe the Issue
The fcc authors page project (js beta) tells campers to handle errors in the fetch call by displaying a new paragraph element. However when testing it, I noticed that the load …
-
I believe relying on this article's content may be the best answer. At the very least, invest in using dotenv files as to not have your API key embedded directly in your source code.
https://www.…
-
## Description
We currently have English strings in our components as fallback text:
https://github.com/freeCodeCamp/ui/blob/1fe2aea4d8ed19714aeb81872b602b94f4b04ac1/src/close-button/close-butto…
-
# Description
After signing up to our application, a user may verify its email address. It is required to implement a routine which includes sending an email comprised of a verification link. Chang…
-
Where can I find resources for html css tutorials?
-
Add codecoverage badge
-
What is gitignore: https://www.freecodecamp.org/news/gitignore-what-is-it-and-how-to-add-to-repo/
I always use https://gitignore.io to generate a gitignore
Make sure to also remove the files git…