Posts

Shivam Dixit Digital Survey form (Html & CSS Project #3)

Image
$ Shivam Dixit Digital Survey form Thank you for taking the time to help us improve the platform Naam* Email* Age Select your current University/inst./college BSACET BU GLAU GLBAJAJ KIET SANSKRITI Not Mentioned Will Your suggest this survey to your frnd ? Definitely Yes Prob=1 Select current role Challenges Projects Community Open Source Html Core Java Engineering Designing Core C++ Core Python DSA ML Web "Dev" Application Dev Sociel AI Others(Point wise) For Search Results

Html code for Survey Form

Image
  < DOCTYPE !  html >      < html   lang = "en" >      < head >        < meta   name = "viewport"   content = "width=device-width, initial-scale=1" >        < link   rel = "stylesheet"   href = "styles.css" >        < title ></ title >      </ head >        <!-- CODIX SANSAAR THE YOUTUBE CHANNEL-->      < body >        < h1   id = "title" > freeCodeCamp Survey Form </ h1 >        < p   id = "description" > Thank you for taking the time to help us improve the platform </ p >     < center >   < form   id = "survey-form" >     < label   id = "name-label"   for = "name" > Naam* </ label >     < input   placeholder = "Enter your name"   type = "text"   required   id = "name" >     < label   id = "email-label"   for = "email" &g

Nandini Furniture(9634419783)

Image
Nandini Furniture(9634419783) Nandini Furniture Akshu Zone
Colored Markers CSS Color Markers MyLink Hello My Name IS SHivam

My Portfolio cum CV

Cafe Menu CAMPER CAFE Est. 2020 Coffee

Regex with .test() In JavaScript

Image
 REGEX is very interesting and helping  RegEx  It is an Acronym means Regular Expression The Work of Regex  Regular Expressions  (Regex) Regular Expression, or regex or regexp inshort, it is tremendously powerful in searching and manipulating text sub-strings of any String, particularly in processing text files. One line of regex can easily replace multiple lines of programming codes Regex work as to search and return true if the search regex gets found  like in any string we have to search any particular words if that word of clause exist in that given string or other datatypes then it the .test() function will return True This is the Alternative Code for Regex Expression and .test() var str1 = "Hello My Name Is Shivam Dixit" ; var result = false ; var search = "Shivam" ; function regextest ( str1 , result , search ){ for ( var i = 0 ; i < str1 . length ; i ++ ){ if ( str1 [ i ] === search [ 0 ]){ for ( var j = 1 ; j < search . length ; j ++ ){ if (

use promise keyword in js

 Promise keyword in JavaScript A promise in JavaScript is exactly what it sounds like - you use it to make a promise to do something, usually asynchronously. When the task completes, you either fulfill your promise or fail to do so.  Promise  is a constructor function, so you need to use the  new  keyword to create one. It takes a function, as its argument, with two parameters -  resolve  and  reject . These are methods used to determine the outcome of the promise. The syntax looks like this: const myPromise = new Promise ( ( resolve , reject ) => { } ) ; Complete a Promise with resolve and reject A promise has three states:  pending ,  fulfilled , and  rejected . The promise you created in the last challenge is forever stuck in the  pending  state because you did not add a way to complete the promise. The  resolve  and  reject  parameters given to the promise argument are used to do this.  resolve  is used when you want your promise to succeed, and  reject  is used when y

Pageviews