BITS Pilani Alumnus, Co-founder YouStart, Enappd.
Worked in Corporate, Startup, Tech Consulting, Freelancing, BootCamps
Working on the Web Dev since 2004 😬 Sharing exciting things on this channel.
Available for career guidance. if time permits ✌️
If connecting on Linkedin - Add a message with your invite mentioning this Channel.
NOT available for collaborations, sponsorship, etc.
Пікірлер
This is how i solved the interview question, Let me know what you guys think function App() { const [cityValue, setCity] = useState("IN"); const findCity = countries.find((city) => city.value === cityValue); return ( <> <select onChange={(e) => setCity(e.target.value)}> {countries.map((country, index) => ( <option value={country.value} key={index}> {country.name} </option> ))} </select> <select> {findCity.cities.map((city, index) => ( <option value={city} key={index}> {city} </option> ))} </select> </> ); }
Bhaiya DSA laao naa JAVASCRIPT se
React.memo() and withRouter()
why my npm is not starting even if i have all scripts scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, in my packageJson
make sure u are in the correct directory
Below is the quick solution for the problem statement: import "./index.css"; import {useState } from "react"; export default function App() { const fruits = ['Apples','Banana','Mango']; const [arr, setArr] = useState(fruits); const [checkBoxes, setCheckBoxes] = useState([false,false,false]); const handleClick = (index) => { console.log('clicked:',index); const newArr = arr.filter((fruit, i) => i !== index); setArr(newArr); } const handleCheck = (val, i) => { console.log(checkBoxes , checkBoxes[i]); setCheckBoxes(checkBoxes.map((e, index) => index === i ? val : e)); } return ( <ul> { arr.map((fruit, index) => { return( <> <li key = {index}>{fruit}</li> <input type="checkbox" onChange={(e)=>{handleCheck(e.target.checked, index)}}></input> {checkBoxes[index] && <input type="button" onClick={()=>{handleClick(index)}} value="Delete"></input>} </> ) }) } </ul> ) }
thank you sooo much sir for this course ....no words ..hats off to you sir
Up to the mark explanation, helped a lot
pls letme how to get code
Hi! I hope you're doing well on this project. I'm working on this project myself and I'm adding some features that might be helpful for yours as well. I'm planning to include things like uploading images, creating an admin panel, and making the project responsive . Would you be interested in collaborating to make our projects even more professional and advanced....
The intervewee is really great
Completed
.. . আসসালামু
@coderdost I have tried using multer in this to use images from my local device but I failed to implement it properly. Can you please please help me with the code? I want to use my own images instead of the dummy images.
Sir products.map is not function error
const input7 = [5, 7, 9, 11, 15, 17, 21, 25]; const output7 = 13; function missingNumber(input7) { let index; for (index = 0; index < input7.length; index++) { if (input7[index] > output7) { break; } } input7.splice(index, 0, output7); return input7; } console.log(missingNumber(input7), "missing");
Completed
Bro is this video is enough to learn mern stack?
product search functionality is missing
the clarity of his thoughts is insane :) this tutorial feels so real and natural, like you going through the documentation in real time, getting errors, trying to guess them, resolving them...one of the best mern tutorials out there...respect sir.thank you so much for providing this level of quality content for free.....also the github repo for homeworks and diys omgg....so much efforts are put into making this masterpiece available to us...tysm again _/\_
also the professionality in your speech clearly reflects the insane experience you have with the topic and the perfect pedagogy :) respect++
const input = [2, 7, 11, 4, -2] let spl = input.splice(0, 2) console.log(spl); //[2,7] console.log(input); //[11,4,-2] output = input.concat(spl) //1. using concat to merge 2 arrays // output = [...input, ...spl] //2. using spread operator to merge 2 arrays // output = input.push(...spl) //3. Merge using array.push() console.log(output) //output = [11,4,-2, 2, 7]
const input = [5,7,9,11, 15,17]; let missingNum = ""; for(let i= 0 ; i < input.length; i++){ if (input[i] + 2 != input[i+1]){ missingNum = input[i]+2; break; } } console.log(missingNum) //output missing odd number is 13
We can create multiple contexts in our react application.
Link of deployed website?
thx
Good 👍
Aisa Ho Nahin Sakta ki vah this se return na kare internally Karta Hai vah return otherwise vahan return data type Lagta hi Nahin😅😊
Is this interview only relevant for freshers or 2 year experienced also can take benefit this interview
Good 👍
in your code for loop should iterate till array.length-1
const findMissOddNumber = (array) => { let firstElement = array[0]; array.forEach((element) => { if (element !== firstElement) return; firstElement += 2; }); return firstElement; }; console.log(findMissOddNumber([5, 7, 9, 11, 15, 17]));
Seriously frustrated by your way of teaching. You really need to slow down. Its 20 minutes in the video and it seems like you are teaching to yourself.
Hello sir, i want to have a mock interview for React js with you, how can we connect?
Very helpful video, as beginner gained some confidence and clarity to start
delete an elem from arr .. let's use filter .. yeah .. if an item is at the last position we need to iterate the whole array and filter ... hmm.. very efficient
@coderdost 4242 card is for International payment. In India it won't accept.
my json server with 2 endpoints are not working ,plss somebody help
Thanks for the masterpiece, sir.
7:12:44
In my response header I am not getting X-Total-Count. Can you help?
sir vue 3 + html+ css se project chahie ..rest api se..full video..
vue p v project chahie
If we delete node_modules. How to run our app again successfully ? npm install How to remove double console.logs from React ? [ by removing StrictMode in index.js
06:52:58
Great
how i can accesee the product photo or images and detail that you use in index.html at 1.36.54
Sir apka videos nhi a rhe
Hi sir ,, i facing an issue about findind .mjs.map file. there is a .mjs file and .map file but not the file that i find.
This web app is responsive?
06:13:52
Do we really need useEffect in this code?