Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

Hi, We need convert type of **length** to integer only.

***
area = int(length)*width
***
2 years ago
Hey, please share the error message when you submit the code.
2 years ago
I think you need to fix grid element css. Here is how:

***



CSS Grid Template




1

2

3

4

5

6

7

8

9




***
2 years ago
I would request you try the following format for the if block.

***
let myVar = 10;

if(myVar < 20 || myVar >= 40)
{
console.log("I am log...");
}
***
2 years ago
Your code is seems correct.
I can provide what I used to move to the next lesson:
***
package main

import "fmt"

func main() {

// full style variable declaration
var quantity int

// after confirming with user
quantity = 4

length, width := 1.4, 1.2


var customerName = "John Wick"

fmt.Println(customerName)
fmt.Println("has ordered", quantity, "towels")
fmt.Println("each with area of")
fmt.Println(length*width, "square feet")

}
***

Let me know if it works!
2 years ago
This is desired output:

***
What is happening?
***
2 years ago
Hi, This is how steps are supposed to done:

5:
***
if(content.search(inputStr)>=0)
{
alert("String found");
}
else {
alert("String not found");
}
***
7&8:
***
function count() {
let content = document.getElementById("content").innerText;
// use string function to create array of its words
let arr = content.split(" ");

let resultDiv = document.getElementById("result");
// use array property to find number of array elements
resultDiv.innerText = "Number of words:" + arr.length;
}
***
2 years ago
Hi there, You can try the following code:

***



<br /> My Webpage Title<br />


http://www.studytonight.com/css/resource/flat-ui-icon/startup-icon.png">


***
2 years ago
Hi Krish, it is actually quite simple.

1. Run the correct code.
2. Click on submit *but*ton**.
3. If there is no error then you can click on next *but**ton* to move to next lesson.
2 years ago
Hi Dikshita, Try passing the URL like this:

***
makeHTTPCall("https://*studytonight.com*/");
***

Let me know if you still face any errors.
2 years ago
Hi, You have to initialize the variable as follows
***
// write your code here
let myVar;
***
2 years ago
Hi Sumeet, Please specify the level also.
2 years ago
Ques:  Lesson 3