@monymike Just don’t capitalize the C in console. It has to be lowercase.
Fantastic!
Thanks,
Cryptoeats the world
No problem! Actually now that I’m at the other end of several of these courses, it’s nice to be able to help someone else with this stuff!
I’m having this same problem…did u manage to find it…?
Hey @Maverick23, hope you’re well.
Now the assignment is to read the chapter one of the eloquent JavaScript book, which is in this lesson: https://academy.ivanontech.com/products/javascript-programming-for-blockchain-developers/categories/1708561/posts/5735037
If you have any more questions please let us know to help you.
Carlos Z.
got it, I remember this book… appreciate your help on this Carlos Z… was stuck on this for a few days and started Defi 101. back to javaSc
Hey guys! I hope this helps someone… for “Practice exercise - Loops, If-else & Boolean’s” lesson 23/38, exercise 28. It seems that the exercise is broken into 3 different parts. I tried to follow the instructions. When I looked at the answer it seems as if there is a part b). I was confused by this. It took me a minute going through the solution line by line but I figured out that it makes more sense for the problem being presented to be broken into part a) part b) and then 3. would be included in part b).
Hopefully that makes better sense! It helped me to see it this way in the end.
Hey guys I’m having an issue with the “$” symbol in Atom not registering the the console; it is “not defined.” Does anyone else have this problem? I’m currently on Lesson 8 of the Javascript Next Level category. Thanks!
Hi @kyliezz, hope you are well.
Now I think you have to include jquery in your code to be able to use the $ sign which is used for jquery syntax.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
You only have to include that line into your head
tag.
If you have any more questions, please let us know so we can help you!
Carlos Z.
Thanks Carlos!
I promise I’m not crazy… I put the link in before and followed Ivan’s instructions for where to find it. But for some reason it took your link to make it work …
The Quiz ’ What is the result of this (10+22) % 3 Answer is 2
I understand the paragraph from the book but still don’t know how 2 is the correct answer ??
“There is one more arithmetic operator, which you might not immediately recognize. The % symbol is used to represent the remainder operation. X % Y is the remainder of dividing X by Y. For example, 314 % 100 produces 14, and 144 % 12 gives 0. The remainder operator’s precedence is the same as that of multiplication and division. You’ll also often see this operator referred to as modulo.”
HI @Pats, hope you are well.
Now about the operator modulus
which is basically the remainder of a division operation, i coud explain it to you but there are better sites to explain the same quite detailed, here are some reousrces:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Remainder
- https://riptutorial.com/javascript/example/760/remainder---modulus----
- https://stackoverflow.com/questions/14271865/how-does-javascript-handle-modulo
If you have any more questions, please let us know so we can help you!
Carlos Z.
3rd No.Question How should I write name phone and a dress in separate line that is in exercise console and variable
I tried many ways but I am not getting the result correctly .Can you please help me?
Hi @Ali504, hope you are well.
Which question are you mention? which course and lesson?
If you have any more questions, please let us know so we can help you!
Carlos Z.
Lesson: Image & Break Line
I have followed the example, and googled, and watch some tutorials online, however, I cannot get the image to load on the page, can someone have a look at my code to see where I have gone wrong
Image does not load, see below;
Hello,
I am trying to understand Uniswap smart contract. I am unable to understand PERMIT_TYPEHASH
. I tried to search on etherscan, I could not find any results. Can someone explain to me what is it? Thank you.
Thank you Carlos, the read up in stack overflow was a big help
Please help I’m completely stuck on JavaScript I don’t seem to understand it on my own
in javascript, Practice exercise - Boolean’s & If,Else statements
- Tax in Ruritania
In the fictional country of Ruritania, the tax rules are such that:
- if a person has an income <1000, then you pay 10% tax on the entire income,
- and if the income >= 1000, then you pay a 10% tax on the first 1000 Euros and 30% tax on the rest of the income.
- Create a script that calculates and prints how many euros to pay in taxes. The script should read the income (which is assumed to be a decimal number) from user input.
var salary = prompt(“What is your income this month?”);
if(salary<1000){let tax = salary*0.1}
else {let tax = ((salary-1000)0.3)+(10000.1)}
console.log("your tax is " tax)
VM2652:5 Uncaught SyntaxError: missing ) after argument list
I cannot for figure out where is the bracket missing. I have read the code over and over and tried changing small things, but now my brain is broken
I am sure there is a different approach to take to this question, but I am curious to know why my code isn’t working