Posts

Showing posts from August, 2021

React.js Notes

Image
1.   C oncatenate         2 var data  + in one var (2 var ke data ko jodta hai  js mai); 2.What are the Components? what are you doing Components are  independent and reusable bits of code . They serve the same purpose as JavaScript functions, but work in isolation and return HTML via a render() function. Components come in two types, Class components and Function components 3.Types of React Components  Functional Components. Class Components. Pure Components. Higher-Order Components. 4.jquery wich always using  id is # for example(#abc) 5. 3 type of HTML data output in js 1)HTML .2)text .3)append mens repet input field or data 6.  onkeypress function in js is function mai agr input field mai koi v data type krenge to output mai koi changes ni hoga  7...3 type of function create in js i)   function get_onkeypress(e){   document.getElementById('onkeypress').value=e;   }  (normal function); ii )var demo=function(asd){ console.log('gvshdsgvg',asd); };( variable ke sath dec