Hi! I didn't know how complete the end project, I don't know what is wrong 🙁 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Hi! I didn't know how complete the end project, I don't know what is wrong 🙁

22nd Apr 2021, 5:26 AM
Madeha youssof
Madeha youssof - avatar
20 Answers
+ 2
Hi! please ask a specific question, specify what the task is and the programming language, and attach your code attempt!
22nd Apr 2021, 5:33 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
where are you stuck on this assignment? show the code of your attempt for a better understanding of the problem
22nd Apr 2021, 5:54 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
just show your code. are you shy?
22nd Apr 2021, 6:08 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Your program is working wery well, she passes all the tests . What is the problem?
22nd Apr 2021, 6:24 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
you only showed us one code. what was the previous one?
22nd Apr 2021, 6:27 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
sorry, it wasn't even you who posted the code. you didn't show any
22nd Apr 2021, 6:29 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
takes an input value
22nd Apr 2021, 6:36 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
since the input is always a string, this function converts this value to an integer, decimal. this is indicated by the number 10 at the end. if there was a number 16, the number would be converted to hexadecimal
22nd Apr 2021, 6:38 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
because I don't know how to use page elements for input. to do this, you need to create an input field and assign a button for this, to send a value to a variable, it is easier to accept the entered values yourself using the prompt command
22nd Apr 2021, 6:42 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
thanks again 🌸
22nd Apr 2021, 8:22 AM
Madeha youssof
Madeha youssof - avatar
0
You need to plan a road trip. You are traveling at an average speed of 40 miles an hour. Given a distance in miles as input (the code to take input is already present), output to the console the time it will take you to cover it in minutes. Sample Input: 150 Sample Output: 225
22nd Apr 2021, 5:42 AM
Madeha youssof
Madeha youssof - avatar
0
I'm just in the beginning in JS, I try to use variables and it didn't work
22nd Apr 2021, 5:43 AM
Madeha youssof
Madeha youssof - avatar
0
Thanks I write it , but it doesn't work also 😥😥
22nd Apr 2021, 6:03 AM
Madeha youssof
Madeha youssof - avatar
0
It works here but as answer they give me "not true
22nd Apr 2021, 6:06 AM
Madeha youssof
Madeha youssof - avatar
0
Thanks very much, it works now, but I i didn't understand the difference, why this true and the last code wrong
22nd Apr 2021, 6:25 AM
Madeha youssof
Madeha youssof - avatar
0
No, I am not shy, I just was trying 😅, thanks for your help
22nd Apr 2021, 6:26 AM
Madeha youssof
Madeha youssof - avatar
0
I mean the two code which posted it Nikhil
22nd Apr 2021, 6:31 AM
Madeha youssof
Madeha youssof - avatar
0
What's mean this function : parseInt()?
22nd Apr 2021, 6:35 AM
Madeha youssof
Madeha youssof - avatar
0
Okay, thanks for your help 🌸
22nd Apr 2021, 6:38 AM
Madeha youssof
Madeha youssof - avatar
0
I don't know why it's not taking ma code even though it is correct
11th Jul 2021, 3:59 PM
Nikitha Halesh