frontend
misc
git
javascript
random things abt neha
100

what language is this?

<h1>hello blueprint<h1>


HTML

100

explain the house metaphor

CSS = decorations

HTML = structure

frontend/client JavaScript = smart home

backend code = pizza place lol

100

what is the difference between git and github?

Git is a local version control tool that tracks changes to your code over time (commits, branches, merges).

GitHub is a cloud platform that hosts git repositories and adds collaboration features like pull requests and code review on top of git.

100

A way to tell our components which information to render. You can think of these like function parameters in Python.

what are props?

100

what is neha's last name

Hussain

200

what is HTML

HTML defines what content will be rendered and where it will be displayed on screen. It allows us to group content and convey hierarchical relationships

200

true or false:

we use PascalCase for variable and function names

FALSE!!!! 

camelCase for variable and function names

PascalCase for React components

200

what does this command do?

git checkout -b <your name>/<short feature description>

creates a NEW branch — separate spaces for you to implement & experiment with your own code.

200

where do we NOT define helper functions in React components?

code: 

import React from 'react';

A

const ExampleComponent = () => {     

    B

   return (    

   C

    )

}

export default ExampleComponent;

C

200

where is neha from?

sugar land, tx (houston lol)

300

what is a component?

a reusable JavaScript function that returns JSX describing what a piece of UI should look like

300

what does this do:

git branch -d <branch-name>

deletes a local branch

300

this command shows you what changes have not been staged for commit

git status

300

what is the difference between Javascript, JSX, and Typescript?

JSX is an extension to JavaScript that allows us to mix HTML and JS and to return HTML blocks as part of functions or components. 

Typescript is an extension of Javascript that allows us to strictly type our Javascript

300

how long has neha been in blueprint

this is the 5th semester...

400

what kind of properties determine component placement and spacing relative to outer components?

flex properties

400

what are merge conflicts?

Happens when git can't automatically combine two branches because they both changed the same lines of the same file, requiring you to manually choose which version to keep.

400

name the steps in making a pull request (PR) from start to finish

1. setup: create a new branch

CODE

2. commit changes

3. push changes to github

4. open the PR on github & write a description of the changes

5. iterate on PR

6. MERGED TO MAIN YAY

400

what's an interface in TypeScript?

An interface specifies exactly what props a component expects and what the type of the props should be so TypeScript catches missing or mistyped props before the code ever runs.

400

what team did neha project lead for?

ROSE ACADEMIES!!

500

what is padding?

Space between the content and the border. Creates spacing inside the element.

500

what's Blueprint's Generative AI Policy?

you are allowed to use Generative AI, but you must be able to explain your code line by line and as a whole.

500

explain every step to git rebase FULLY

git checkout main

git pull origin main

git checkout <your branch>

git rebase main

resolve merge conflicts: git add ., git commit -m "resolved merge conflicts for <x, y, z>, git rebase --continue

git push --force

500

Name the different parts of a component 

(e.g. imports)

- Component function

- Props 

- Helper functions

- JSX return 

- Export — makes the component available for other files to import and use

- State (optional) — internal data the component tracks and can update, triggers a re-render on change

500

what was neha's pit today?

data 140

M
e
n
u