Signup/Sign In

Answers

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

**Try this one**

***



Hiding elements using Media Queries



Studytonight


When the browser's width is 600px wide or less, hide the h1 element. Resize the browser window to see the effect.




***
3 years ago
**Try this one**
document.write("Hello World");
3 years ago
**Try this one **

let x = 0;
while(x < 10)
{
console.log(x);
if(x==5){
break;
}
x++;
}
3 years ago
Hii afrideen!
please run your code again. We have resolved this issue

Thank you! Happy learning
3 years ago
**Try this one **



my website




Hello World


sandeep




Sidebar

Main




4 years ago
**try this one**
let x = 10;
let y = 1;
let z;
// your code comes here
(x > y)? z = x : z = y;
console.log("Value of z:" + z);
4 years ago
**Try this one**



CSS transition property





4 years ago
***


<br /> My Webpage Title<br />









***
4 years ago
try this one :
div {
width: 100px;
height: 100px;
background: #4535aa;
transition-property: width , height;
transition-duration: 5s;
transition-timing-function: ease-in-out;
transition-delay: 0s , 2s ;
}

div:hover {
width: 300px;
height:200px;
}
4 years ago
ormally a wart to indicate the type is appended or prepended to the name. You can get away with macros is some instances, but it rather depends what you're trying to do. There's no polymorphism in C, only coercion.

Simple generic operations can be done with macros:

***#define max(x,y) ((x)>(y)?(x):(y))***
If your compiler supports typeof, more complicated operations can be put in the macro. You can then have the symbol foo(x) to support the same operation different types, but you can't vary the behaviour between different overloads. If you want actual functions rather than macros, you might be able to paste the type to the name and use a second pasting to access it (I haven't tried).
4 years ago
Native ARM instruction "rbit" can do it with 1 cpu cycle and 1 extra cpu register, impossible to beat.
4 years ago
A combination of basename and cut works fine, even in case of double ending like .tar.gz:
***fbname=$(basename "$fullfile" | cut -d. -f1)***
4 years ago