Skip to main content

Posts

Showing posts from October, 2021

Eight day for full stack development -->> CSS use type, CSS path define

../ --> use for use file from different folder from similar directory. CSS can use in 3 types. Inline Style The <Style> Element External stylesheet Inline style -> style = " color: aqua; "              <label   for = "meal"   style = " color: aqua; " > Please select meal </label> The <style> Element-> use css in same page. <head>      <style>          h2  {              color :  blanchedalmond         }      </style> </head> External style sheet -> use different file for css. <link rel = "stylesheet" href = "../css/app.css" > ../ --> use for use file from different folder from similar directory.

Seventh day with full stack development --> NPM Package installer

 NPM :- Basic After Download of node js "Npm" install directly. To check the npm in cmd type --> npm Install we can install package 2 types. Locally for the directory of projects. npm install package_name / npm i package_name --> in cmd, make sure firstly open the project folder in which you want to install your npm package. to use the install package const   var_name =  require ( "package_name" ); Globally for all package npm install -g  package_name / npm i -g  package_name--> to install globally, use any directory to install npm link package_name:- open the project folder in cmd and then type command. make package.json file for your all dependencies. Open Project in CMD. Type --> npm init and give detail and click ok, now your package.json file is made. Now installing any package details will we automatically update in package.json file, and make sure all the packages should install locally. Want to install the package, by the package.json Just t...

Sixth Day with fullstack development --> Play Node Js CMD Command.

 Installing Node Js Download Acc. to suitable Environment https://nodejs.org/en/download/ Use CMD:- type "node" Node js REPL:- Use Cmd to know about commands like global, process .exit --> used to come out of repl. https://nodejs.org/dist/latest-v14.x/docs/api/  --> Documentation  basic of node js require ( 'fs' ); -->define the filesystem as constant process . argv [ 2] --> read command from the cmd by process, argv[2] get the string in array fs . mkdirSync ( filename );->create folder without callback      fs . writeFileSync ( ` ${ filename } /index.html` ,  '' ) --> create a file

Basic CMD Commands

 CMD commands:- cd\ --> redirects to the parent drive cd path --> redirect to the given path, to redirect to a path you have to first go to the parent drive. cd.. -> it take out you from the current folder. d: -> to change the drive, drive name : cd d: -> tells the open folder in the given drive. cd /d  c:\windows --> to go directly from the given drive to another drive path. dir -> to check the content of the drive cmd mkdir -> to create a folder in a current directory, give mkdir folder name. type filename -> to make the file, provide extension also. ping --> to know the speed of a website. systeminfo -->tell all the info of the system color 02--> to change color of text in green and background in black. attrib +h +s +r filename --> hide the file attrib -h -s -r file name   --> unhide the file ipconfig /displaydns--> to check the incognito history. ipconfig /flushdns --> to delete incongnito history. doskey /history -->...

Fifth day of full stack development -> Form Input elements brief.

Form Input elements brief.      <h2> More Inputs </h2>      <form   action = "/birds" > Checkbox:- name:- it is the element that contains the data to the server. id:- id is the unique name given to the tag. checked:- it is the element to the tag, that defines the precondition of the checkbox, that checkbox is active.          <label   for = "agree" > terms and condition </label>          <input   type = "checkbox"   name = "agree_tos"   id = "agree"   checked > Radio button:- name:- it is the element that contains the data to the server, if the name of all radio button will be same then, you can select only one radio button. id:- id is the unique name given to the tag. value:- we can define the hardcoded value, which will send to the server.        ...