Signup/Sign In

Answers

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

Try this for the last part of the code,
***
let p = 12;
// write code here
p++;
console.log(p);
***

We will improve the instructions for the exercise.
6 months ago
This is the correct answer:
***
let x = true;
let y = false;

// apply AND operator
console.log(x && !y)

// apply OR operator
console.log(!x || y)
***
6 months ago
Here is the correct answer:
***




Registration Form


My Registration Form












***
You missed adding the
tag, and you also had the closing tag wrong and the tag is also inside the BODY.</div> <div class="mt-2"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-clock" viewBox="0 0 16 16"> <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/> <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z"/> </svg> <small>6 months ago</small> </div> <div class="fw-light mt-3 border rounded p-2"><span class="badge bg-primary">Ques:</span>  <a href='/forum/step3-why-are-answer-being-wrong' class="new-black">Step-3 Why are answer being wrong?</a></div> </div> </div><!--Answer box ends--> </div> <div class="col-sm-12"> <div class="shadow-sm mt-3 p-3" id='2939'> <div class=""> <div class="fs-6"> Can you please share the code that you are trying to submit so that we can check it.</div> <div class="mt-2"> <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-clock" viewBox="0 0 16 16"> <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/> <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z"/> </svg> <small>6 months ago</small> </div> <div class="fw-light mt-3 border rounded p-2"><span class="badge bg-primary">Ques:</span>  <a href='/forum/problem-in-the-lesson-placing-a-grid-item' class="new-black">Problem in the lesson placing a grid item</a></div> </div> </div><!--Answer box ends--> </div> <div class="col-sm-12"> <div class="shadow-sm mt-3 p-3" id='2938'> <div class=""> <div class="fs-6"> You missed the last instruction, which says that you have to use colspan property in the column of the first row of the table. The correct code will be:<br /> ***<br /> <!doctype html><br /> <html><br /> <head><br /> <title><br /> Hello<br />

















***
6 months ago
This is the correct code for this lesson:
***
let i = 0;
const str = "studytonight";
// write your code here
while (i < str.length)
{
console.log(str[i] + "");
i++;
}
***
6 months ago
Please share the level number and the lesson number so that we can help you.
7 months ago
It is OK. In this lesson, you will get error. Just click on Submit and proceed to the next lesson. It will work.
7 months ago
There is some issue with blanks, if you revisit the app, it should be fixed now.

This is the correct code:
***
package main
import "fmt"

func areaOfRect(length float64, breadth float64) float64{
// write code here
return length*breadth
}

func main() {
area := areaOfRect(7,9)
fmt.Println("Area of Rectangle is:", area)
}
***
7 months ago
Correct answer:

***







Studytonight




***
8 months ago
You can navigate back. You will see the Hamburger menu on top-right corner of the Lessons Section, click on it, you will see the sidebar, from there click on the Level and then on the Lesson on which you want to navigate.
8 months ago
Done?
8 months ago