I remembered that in Day 0, I said that there would be less than 1% for me to accomplish the goal within the set time limit, and 9% for me to accomplish one if ignoring the time limit. And I guess now, this is the 91% on the oppisite.
The day of the ending comes so fast, and I would like to take a moment to say goodbye properly, and also record this experience of me. It was absolutely one of the most productive days for me and I truly learned a lot. The knowledge and thinking of programming(although not…
order 8.25: the fundamentals of Javascrpit again(coding practice)
Q85.5: The practice for return. Write a function pow(x,n) that returns x in power n. Or, in other words, multiplies x by itself n times and returns the result. Create a web-page that prompts for x and n, and then shows the result of pow(x,n).
//complex version
function pow (askX, askN) {
let result = askX;
for (i = 1; i < askN; i++) {
result *= askX
}
return result;
}
let askX = prompt(“what is the x?”, “”);
let askN = prompt(“what is the n?”, “”);
alert (pow (askX, askN));
…
order 8.25: the fundamentals of Javascrpit again(coding practice)
Q81: use switch, case, break,default method. ask the user to enter a value from 0–2. There are four case, it is 0, 1, 2, and it is out of the range
let question = prompt(“Enter a value from 0–2”, “”);
switch (question) {
case “0”:
alert(0);
break;
case “1”:
alert(1);
break;
case “2”:
alert(2);
break;
default:
alert(“It is out of the range”);
}
//don’t forget that the value is strict equality check, the type matters(unlike the scenario in Q81.5 )
Q81.5: use “if” to ask the user to enter a value from…
order 8.25: the fundamentals of Javascrpit again(coding practice)
###I also put the code in my GitHub. Obviouly, Medium isn't a good place for demonstrating codes. The layout is weird, and the spaces are ignored automatically.###
Q60: ask the user how many states are there in USA, and if they answer 51 tell them you’re right and you’re so smart respectively. And if they answer wrong tell them you are wrong
let question = prompt(“How many states are there in United States?”, “51”);
if (question == 51){
alert(“you’re right”);
alert(“you’re so smart”);
} else {
alert(“you’re wrong”);
}
Q61: same as…
order 8.25: the fundamentals of Javascrpit again(coding practice)
Q13: create three variables with different data types neatly
let name = “Joanna”;
let height= 157;
let authenticity = true;
[name, height, authenticity].forEach(alert);
Q14: create an variable with a string and change the data of it.
let oldVariable
oldVariable = “old string”;
oldVariable = “new string”
alert(oldVariable);
Q15: declare two variables and copy data from one into the other.
let oldVariable
oldVariable = “old string”;
oldVariable = “new string”
alert(oldVariable);
Q16: Declare the variable twice and see an error
let oldVariable = “old string”;
let oldVariable = “new string”;
alert(oldVariable);
// ERROR…
order 8.25: the fundamentals of Javascrpit again(coding practice)
Finally, the arragement of the learning order is done. There are totally 149 questions for me to complete. There are two main purposes for me to achieve in this part. First, I want to be familiar with most of the required syntax of Javascript. This is the basic prerequisity for me to master the programming and also for the second purpose. And the second is to be equipped with the flexible programming thinking ability. In order to achieve this two purpose, during the process of solving the quesiton, I must constrain myself…
order 8.25: the fundamentals of Javascrpit again(coding practice)
4.1 Objects
Q91: create an object with two properties by two kinds of object syxtax
Q92:create an object with three properties. And create an interaction with users which let them to call the random properties out
Q93: create an object with three properties. And try to find if these properties exist in those objects
Q94: create an object with three properties, and output all values of the properties the object without directly calling them.
Q95: create an object with five students and thier corresponding seat numbers(integers). The number is ordered decremently. …
order 8.25: the fundamentals of Javascrpit again(coding practice)
(don't use conditional operator to execute function. It is for returning the value depending on the condition )
Q63: ask the age of the user, >18 for showing true, and <18 for showing false by using the conditional operator. Use values instead of function in the operator.
Q64: : ask the age of the user, >18 for showing adult, <18 for showing teenager, and <10 for showing children by using the conditional operator. Use values instead of function in the operator.
2.11 Logical operators
Q65: use || in an if statement, to…
order 8.25: the fundamentals of Javascrpit again(coding practice)
當我們在學程式時,要學的到底是什麼?, There is no magic in my classroom, 我要成為前端工程師!給 JavaScript 新手的建議與學習資源整理
Let's talk about the purpose of this part. What is the need for do this part ?Is is really necessary to do so? Actually, this is just my own learning habit. For the first round, I didn't focus that much on coding. Instead, most of the time of my learning is mainly on reading the materials. This is mainly for building the basic concepts, and also accelerating the learning speed. I truly hate the uncertainty and inefficiency of learning, and it…
START TO CLARITY THE INSUFFICIENCE OF THREE TOPICS
Dapp can be disassembled into three parts. The backend that runs on the decentralized peer-to-peer network, the smart contract itself, the frontend of the user interface. This kind of classification is pretty clear. Strictly speaking, the smart contract is part of the backend, so it could also be classified into two parts.
To be frank, I have no idea which to choose. The first reason is that there is no exact idea yet, so it’s hard to distinguish which one would be better in this situation. And the second…

Taiwanese. Male. Ximena is my daughter(future). Capable of self-taught anything (a bit overconfidence). Face the ordeal of listening to the sage on the stage.