Day 22 of 100,
- revised javascript basics with es6 and react basic for interview prep.
- pending doubts cleared -> how setter function in useState sets current state as parameter.
difference b/w getElementById/Name vs querySelector:
* getElementById/Name is used specificaly for id and name attribute .
* querySelector is used for all like it takes both id and name.
* querySelector(# id_Name) and querySelector(.Name_name).
#javascript
Join method of Array:
let movie = ["movie1", "movie2", "movie3"];
console.log(movie.join(", "));
* This method helps to print array data one after the other with comma and space.
#javascript
INDEXOF method of string:
let a = "sandesh@cs";
let indexOfAt = a.indexOf("@");
console.log(indexOfAt);
output : 7
Indexof method returns the position of the first occurrence of a value in a string.
It can be used in email checking .
If not found it returns -1 .
#javascript
split method of string in javascript :
let a = "i am sandesh";
let splitA = a.split(" ");
console.log(splitA);
output : [ 'i', 'am', 'sandesh' ]
so split method helps to break down string int o substring and store as array.
#neogcamp
what is Dom in JavaScript?
1. TOY BOX : has some actionable parts like lights, play sound, car moves in all directions.
2. DOM: as toy box ur website has buttons, image display area.
3. JAVASCRIPT: who is smart and knows how to use Dom means what to do when button is pressed.
199 Followers 1K FollowingSearch #Startup Jobs. From #Bootstrapped 🚀💵to #Unicorn 🦄 find Companies & their jobs. 1 site all the #startupjobs #buildinpublic by @davemay310
32 Followers 210 FollowingII Begginer YouTuber II
II its Time to Show the Courage II
II R.P.V.V Student II
II Creator of @nk_gamingofficial
II Founder of - NK gaming
Subscribe 👇
69K Followers 85 FollowingHelping freshers land the right tech job with https://t.co/cCfEz363ye 🚀 • @jobfound5 • https://t.co/LCoabXQkGC • https://t.co/PHDkovzU2u
3K Followers 109 FollowingEngineering @elevenlabsio
Prev → @razorpay, @smallcaseHQ
I love building products on the web ✨
Building:
🎬 https://t.co/Gj9fooQKMQ
⚡ https://t.co/8g2JRVH1on
2K Followers 737 Followingfrontend engineer, maintainer @reactjs docs, website team @geteslint. designing and building experimental UI concepts - views are my own
293K Followers 824 FollowingTeacher and founder of @freecodecamp. 🏕️ Teach yourself math, programming, computer science, world languages – all for free. A 501(c)(3) public charity.
139 Followers 2 FollowingWe provide startup founders the crucial social media presence building experience to pinpoint their ideal userbase for success.
549 Followers 200 FollowingArt Director (Asia Pacific) at @InMobi,
Ex - @amazon
Reiki Enthusiast 🧘♀️
Follow for daily valuable insights & a dash of humour 🙋♀️
25K Followers 6K FollowingSr. Director of Technology @JioHotstar & @espncricinfo
Founder @TeamShiksha | ex-@Atlassian
Views on X are my own.
Alum - Dhirubhai Ambani International School
1K Followers 39 FollowingFree, open and honest software education. Inclusive software development community free from conflict of interest. #OpenLearning #OpenSource
2K Followers 1 FollowingPeerlist Hire helps you find exciting open roles, from fast-growing early-stage startups to the unicorns you love! Managed by @peerlist
152 Followers 348 Following👨💻 Cyber Security student
📖 Self-exploring - Dev and AI
🚀 Avid follower of technology
📚 Reading, chess, or football if free
♨️ Here to learn in public 👋
20K Followers 8 FollowingLearn to code interactively. Complete challenges and build projects - without leaving your browser. Click the link below and start now 👨💻