HTML
CSS
JavaScript
React

GK
100

What does semantic mean?

 tags with meaning

100

What does a block element mean?

What are 3 examples?

 any element that starts a new line, and uses the full width of the page or container. A block-level element can take up one line or multiple lines and has a line break before and after the element.

div, p, section, footer, header

100

What are the 3 types of variables?

var, let, const
100

How do you change the font color of something?

color: whateverColorYouChose;

100

Earth ke atmosphere ka sabse bahut part kaun sa gas hai?

Answer: Nitrogen

200

What are 3 different types of semantic tags?

header, footer, img, a, p, ul, ol

200

Why do we have h1 - h6? What do the numbers mean?

They tell the importance of the header. The font-size is standard but will be overwritten with CSS so choose the header based on importance not the font-size it creates.

200

What are the main data types in JavaScript?

number, string ' ', object {}, boolean (true or false)

200

Where's the best place to find help on CSS styles?

200

Kaunsa satellite communication ke liye use hota hai?

  • Answer: Communication satellite


300

Tell me the order from most specific to least specific:

*

#

.something

h2

p .something

#

p .something

.something

h2

*

300

What is SEO? Why is it so important?

It's Search Engine Optimazation. It basically allows the search engine to read your material easier so it will put your page ahead of someone's who isn't optimized.

300

Extra BONUS: What is the difference between .forEach and .map?

.map returns the info in a new array, .forEach, when given a callback function, modifies the original array.

300

What is externally linked style integration?

It's where your CSS is in another file that has been linked to your HTML.

300

How do you call a class?

.class{ styling in here}

400

If we have header or footer tags do we need to use a div or section tag?

No they act the same way. But header and footer are semantic.

400

What is an inline element?

What are 3 examples?

don't start on a new line, they appear on the same line as the content and tags beside them. 

span, img, a

400

What is [] and {} and what do they mean?

What's the difference?

[]= array

{}= object

they both hold multiple types of data, kind of like a list.

an Array is a specialized object and comes with extra ways to do things.

400

What's a pseudo class? And what is it used for?

It is a way to select a specific element and add a style to it without adding it to the other elements with the same class. It is usually used in place of an id selector. And sometimes comes with actions that happen when invoked.

400

What is it you want to remember about !important?

Try to avoid using !important unless you must use it.

500

In reference to src='#' and href='#' :

what does the # mean? And when do we use it?

It is a placeholder. We use it when the page hasn't been created or doesn't exist. It's so it doesn't break our code.

500

BONUS: What are inline-block elements?

A combo of both block and inline elements. They inherit inline features but you can add width and margin to them like block features.

Note: if you have to declare them inline-block to get these features.

500

BONUS: What is the syntax of a function?

function() { code goes in here};

500

How many times can you use a class?

How many times can you use an id?

as many as you want.

only once.

500

What's the difference in calling * and the body element?

* is less specific.