This is a note in Section 19: Web Development with Python , Complete Python Developer in 2020: Zero to Mastery,The environment I use is windows 10
1.使用 sublime,創建 index.html, script.js, style.css,此三個檔案放在同一個資料夾
2.會使用到Flask可以參考官方文件
PeterFan@DESKTOP-CVDK4VF MINGW64 ~/Desktop/freecodecamp/Freecodecamp_Front_End_Libraries (master)
$ git rm --cached ./.ipynb_checkpoints
fatal: not removing './.ipynb_checkpoints' recursively without -r
PeterFan@DESKTOP-CVDK4VF MINGW64 ~/Desktop/freecodecamp/Freecodecamp_Front_End_Libraries (master)
$ git rm -r --cached ./.ipynb_checkpoints
rm '.ipynb_checkpoints/01_FrontEndLibraries_Bootstrap-checkpoint.ipynb'
rm '.ipynb_checkpoints/02_FrontEndLibraries_jQuery-checkpoint.ipynb'
rm '.ipynb_checkpoints/03_FrontEndLibraries_Sass-checkpoint.ipynb'
//
will tell JavaScript to ignore the remainder of the text on the current line:ECMAScript is a standardized version of JavaScript with the goal of unifying the language's specifications and features. As all major browsers and JavaScript-runtimes follow this specification, the term ECMAScript is interchangeable with the term JavaScript.
Most of the challenges on freeCodeCamp use the ECMAScript 5 (ES5) specification of the language, finalized in 2009.
The most recent standardized version is called ECMAScript 6 (ES6), released in 2015.This new version of the language adds some powerful features that will be covered in this section of challenges, including:
Classes
.test()
method. The .test()
method takes the regex, applies it to a string (which is placed inside the parentheses), and returns true
or false
if your pattern finds something or not.Debugging is the process of finding exactly what isn't working and fixing it
These issues generally come in three forms:
Example of a syntax error - often detected by the code editor:
let simpleArray = ['one', 2, 'three', true, false, undefined, null];
console.log(simpleArray.length);
// logs 7
function convertToF(celsius) {