<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stacksjar</title>
    <description>The latest articles on DEV Community by Stacksjar (@stacksjar).</description>
    <link>https://dev.to/stacksjar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F652644%2Ff11a9c47-e8e1-49ab-8980-30ee32fa5de4.jpg</url>
      <title>DEV Community: Stacksjar</title>
      <link>https://dev.to/stacksjar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stacksjar"/>
    <language>en</language>
    <item>
      <title>Angular Cheatsheet 2024</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Thu, 08 Aug 2024 19:06:06 +0000</pubDate>
      <link>https://dev.to/stacksjar/angular-cheatsheet-2024-8fk</link>
      <guid>https://dev.to/stacksjar/angular-cheatsheet-2024-8fk</guid>
      <description>&lt;p&gt;In this article we are going to see a well curated list of angular interview questions 2021 and answers for experienced as well as freshers&lt;/p&gt;

&lt;h2&gt;
  
  
  Why were client-side frameworks like Angular introduced?
&lt;/h2&gt;

&lt;p&gt;The advent of modern JavaScript frameworks has made it much easier to build highly dynamic, interactive applications. &lt;/p&gt;

&lt;p&gt;JS frameworks are JavaScript code libraries that have pre-written code to use for routine programming features and tasks. It is literally a framework to build websites or web applications around.&lt;/p&gt;

&lt;p&gt;A framework is a library that offers opinions about how software gets built. These opinions allow for predictability and homogeneity in an application; predictability allows software to scale to an enormous size and still be maintainable; predictability and maintainability are essential for the health and longevity of software&lt;/p&gt;

&lt;p&gt;Angular is an open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations. It is a complete rewrite from the same team that built AngularJS. Angular was officially released on the 14th of September 2016.&lt;/p&gt;

&lt;p&gt;Angular is a component-based framework which uses declarative HTML templates. At build time, transparently to developers, the framework's compiler translates the templates to optimized JavaScript instructions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are lifecycle hooks in Angular?
&lt;/h2&gt;

&lt;p&gt;Angular Lifecycle hooks are different states of an angular applications component or directive through out the time of its instantiation to time when its destroyed. These lifecycle hooks are invoked at different phases and conditions of angular application.&lt;/p&gt;

&lt;p&gt;The lifecycle continues with change detection, as Angular checks to see when data-bound properties change, and updates both the view and the component instance as needed. &lt;/p&gt;

&lt;p&gt;We can use any of these lifecycle hooks to tap into particular event or state of the application to perform task's as required.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Below are the lifecycle hooks:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ngOnChanges():&lt;/strong&gt; Called whenever one or more data-bound input properties change just before before ngOnInit().&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ngOnInit():&lt;/strong&gt; Called once, after the first ngOnChanges() and angular has insantiated the component&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ngDoCheck():&lt;/strong&gt; Called on every change detection run, and once after ngOnChanges() and ngOnInit() respectively. The purpose of this lifecycle hook is to act upon changes that Angular can't or won't detect on its own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ngAfterContentInit():&lt;/strong&gt; Called once after the first ngDoCheck(). The purpose of this lifecycle hook is to respond after angular has finished loading any external data into its component.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ngAfterContentChecked():&lt;/strong&gt; Called after ngAfterContentInit() and every subsequent ngDoCheck(). The purpose of this lifecycle hook is to check the content projected into the directive or component.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ngAfterViewInit():&lt;/strong&gt; Called once after the first ngAfterContentChecked(), This lifecycle hook is invoked when angular initializes the component's views and child views&lt;br&gt;
ngAfterViewChecked(): Called after the ngAfterViewInit() and every subsequent ngAfterContentChecked(). This lifecycle hook is invoked after angular checks the component's views and child views, or the view that contains the directive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ngOnDestroy():&lt;/strong&gt; Called immediately before Angular destroys the directive or component. We can use this lifecycle hook for Cleanup just before Angular destroys the directive or component. Unsubscribe Observables and detach event handlers to avoid memory leaks.&lt;/p&gt;
&lt;h2&gt;
  
  
  Explain Components, Modules and Services in Angular
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Components&lt;/strong&gt; in Angular are the main building block for Angular applications. Each component consists of 4 files by default .html, .less, .ts and .spec.ts. A component is basically a wrapper for our presentation layer and the logical layer.&lt;/p&gt;

&lt;p&gt;An HTML template that declares what renders on the page. A Typescript class that defines behavior. A CSS selector that defines how the component is used in a template.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Module&lt;/strong&gt; in Angular are basically a container for all the code blocks in the application. We declare and import all services, pipes, directives and components in the default main module created by angular at time of project creation which is the AppModule. We can create more than one modules for our application and lazy or eager load as per our requirement. An angular module is defined with the @NgModule() decorator.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Services&lt;/strong&gt; in Angular are way of communicating between the components of an Angular application and sharing data between them. We can make our code modular and re-usable by means of services as it can be used across the application. Services in angular are declared with use of the @Injectable() decorator.&lt;/p&gt;
&lt;h2&gt;
  
  
  What are directives in Angular?
&lt;/h2&gt;

&lt;p&gt;Directives are classes that add additional behavior to elements in your Angular applications. Directives are basically custom HTML attributes which Angular provides us Built in to use and some of which we can create by ourselves.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Below are the different types of Directives&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Structural Directives:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;These are the type of directives which helps us to create DOM Objects. We can add DOM objects and remove DOM objects inside our application dynamically by using these two directives.&lt;/p&gt;

&lt;p&gt;*ngFor: Loop over the Array of objects creating HTML elements on which the directive is used.&lt;br&gt;
 *ngIf: Add or remove the HTML element from DOM depending upon the condition specified.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Attribute Directives:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;These are the type of directives which helps us to change the look and feel and behavior of our HTML elements, attributes, properties, and components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NgClass:&lt;/strong&gt; adds and removes a set of CSS classes.&lt;br&gt;
&lt;strong&gt;NgStyle:&lt;/strong&gt; adds and removes a set of HTML styles.&lt;br&gt;
&lt;strong&gt;NgModel:&lt;/strong&gt; adds two-way data binding to an HTML form element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Component Directives:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;These are the types of directives with a template. This type of directive is the most common directive type. This Specifies that an Angular component is also a type of Directive.&lt;/p&gt;
&lt;h2&gt;
  
  
  What is Angular Router?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Angular Router&lt;/strong&gt; is a Routing service for our angular application provided by Angular. Which we can import and use in our Application. We need specify the Array of Routes to this service and import it in our AppModule. This service is required for Navigating through different components/view of our angular application.&lt;/p&gt;
&lt;h2&gt;
  
  
  What is Angular Material?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Angular Material&lt;/strong&gt; is a material UI component library built by the Angular team to integrate seamlessly with Angular applications. Angular Material provides built in ready to use components that helps in creating minimal, elegant and functional, HTML elements and pages. It consists of well tested components to ensure performance and reliability with straightforward APIs and consistent cross platform behavior.&lt;/p&gt;

&lt;p&gt;Angular Material provides tools that help developers build their own custom components with common interaction patterns. It helps in creating faster, beautiful, and responsive websites. It is inspired by the Google Material Design.&lt;/p&gt;
&lt;h2&gt;
  
  
  What is string interpolation in Angular?
&lt;/h2&gt;

&lt;p&gt;String Interpolation in Angular is method to bind data from the logical layer to the presentation layer. We can bind our ts variables in our html directly by using this mechanism called as string Interpolation which is denoted by double curly braces.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Below is the example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//ts file
title: String = 'Angular Application';﻿
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//html file
{{ title }} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How does one share data between components in Angular?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Following are the most common ways in which we can share data between angular components:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;@Input:&lt;/strong&gt; The @Input method is used when we want to pass data from parent to child.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;@Output:&lt;/strong&gt; The @Ouput method is used when we want to pass data from child to parent by using it EventEmmitter feature.&lt;br&gt;
Services: Services are the most common way of sharing data across multiple components as its declared in the root of the component.&lt;/p&gt;
&lt;h2&gt;
  
  
  List out differences between AngularJS and Angular
&lt;/h2&gt;

&lt;p&gt;Angular JS is the first ever version of Angular and is based on Javascript. Where as the Angular is completely based on Typescript which is a superset of Javascript and has backward compatibility.&lt;/p&gt;

&lt;p&gt;Angular JS, based on JavaScript, uses terms of scope and controllers while Angular uses a hierarchy of components. Angular is component-based while AngularJS uses directives.&lt;/p&gt;

&lt;p&gt;Angular is based on modern web applications platform and we can develop cross platform applications with single angular code.&lt;/p&gt;
&lt;h2&gt;
  
  
  What is AOT compilation?
&lt;/h2&gt;

&lt;p&gt;An Angular application consists mainly of components and their HTML templates. Because the components and templates provided by Angular cannot be understood by the browser directly, Angular applications require a compilation process before they can run in a browser.&lt;/p&gt;

&lt;p&gt;For this Angular provides two types of compilers JIT and AOT. JIT stands for Just in Time, and AOT stands for Ahead of Time.&lt;/p&gt;

&lt;p&gt;The Angular ahead-of-time (AOT) compiler converts our Angular HTML and TypeScript code into efficient JavaScript code during the build phase before the browser downloads and runs that code. Compiling your application during the build process provides a faster rendering in the browser.&lt;/p&gt;

&lt;p&gt;We can use either JIT or AOT compiler for building our application.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//To use JIT compiler for Build run
ng build

//To use AOT compiler for Build run
ng build --prod

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What are the advantages of AOT?
&lt;/h2&gt;

&lt;p&gt;Smaller application size (Angular compiler excluded)&lt;br&gt;
Faster component rendering (already compiled templates)&lt;br&gt;
Template parse errors detected earlier (at build time)&lt;br&gt;
More secure (no need to evaluate templates dynamically)&lt;/p&gt;

&lt;p&gt;How are Angular expressions different from JavaScript expressions?&lt;br&gt;
Like JavaScript expressions, Angular expressions can contain literals, operators, and variables. Unlike JavaScript expressions.&lt;/p&gt;

&lt;p&gt;Angular expressions can be written inside HTML. Angular expressions do not support conditionals, loops, and exceptions, while JavaScript expressions do.&lt;/p&gt;

&lt;p&gt;Angular expressions support filters, while JavaScript expressions do not.&lt;/p&gt;
&lt;h2&gt;
  
  
  How are observables different from promises?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Observables:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Emit multiple values over a period of time.&lt;br&gt;
Are lazy: they’re not executed until we subscribe to them using the subscribe() method.&lt;br&gt;
Have subscriptions that are cancellable using the unsubscribe() method, which stops the listener from receiving further values.&lt;br&gt;
Provide the map for forEach, filter, reduce, retry, and retryWhen operators.&lt;br&gt;
Deliver errors to the subscribers.&lt;br&gt;
Promises:&lt;/p&gt;

&lt;p&gt;Emit a single value at a time.&lt;br&gt;
Are not lazy: execute immediately after creation.&lt;br&gt;
Are not cancellable.&lt;br&gt;
Don’t provide any operations.&lt;br&gt;
Push errors to the child promises.&lt;/p&gt;
&lt;h2&gt;
  
  
  Explain the concept of Dependency Injection?
&lt;/h2&gt;

&lt;p&gt;In software engineering, Dependency Injection is a technique in which an object receives other objects that it depends on. These other objects are called dependencies. The "injection" refers to the passing of a dependency (a service) into the object (a class) that would use it.&lt;/p&gt;

&lt;p&gt;There are basically three types of dependency injection:&lt;/p&gt;

&lt;p&gt;Constructor Injection: the dependencies are provided through a class constructor.&lt;br&gt;
Setter Injection: the client exposes a setter method that the injector uses to inject the dependency.&lt;br&gt;
Interface Injection: the dependency provides an injector method that will inject the dependency into any client passed to it. Clients must implement an interface that exposes a setter method that accepts the dependency.&lt;/p&gt;
&lt;h2&gt;
  
  
  Describe the MVVM architecture.
&lt;/h2&gt;

&lt;p&gt;Model–View–ViewModel (MVVM) is a software architectural pattern that facilitates the separation of the development of the presentation layer (the view) – be it via a markup language or GUI code – from the development of the logical layer or back-end logic (the model) so that the view is not dependent on any specific model platform.&lt;/p&gt;

&lt;p&gt;Discuss the advantages and disadvantages of using Angular? &lt;br&gt;
Below are the advantages and disadvantages of Angular.&lt;/p&gt;
&lt;h2&gt;
  
  
  Advantages of Angular:
&lt;/h2&gt;

&lt;p&gt;MVC Architecture implementation&lt;br&gt;
Enhanced Design Architecture&lt;br&gt;
Dependency Injection (DI)&lt;br&gt;
TypeScript: better tooling, cleaner code, and higher scalability&lt;br&gt;
Large community and ecosystem&lt;br&gt;
Powerful Router &lt;br&gt;
Disadvantages of Angular:&lt;/p&gt;

&lt;p&gt;Limited SEO options&lt;br&gt;
Steeper learning curve&lt;/p&gt;
&lt;h2&gt;
  
  
  What is ngOnInit? How to define it?
&lt;/h2&gt;

&lt;p&gt;A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the component/directive is instantiated.&lt;/p&gt;

&lt;p&gt;The ngOnInit() method is defined in a component class as below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class MyComponent implements OnInit {
  ngOnInit() {
    // some code
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What is ViewEncapsulation in Angular?
&lt;/h2&gt;

&lt;p&gt;View encapsulation defines whether the template and styles defined within the component can affect the whole application or vice versa&lt;/p&gt;

&lt;p&gt;The default ViewEncapsulation is Emulated, this view encapsulation emulates the behavior of shadow DOM by preprocessing (and renaming) the CSS code to effectively scope the CSS to the component's view. Angular adds the CSS to the global styles.&lt;/p&gt;

&lt;p&gt;Angular provides there types of View Encapsulation. They are as follows:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Emulated:&lt;/strong&gt;  Styles from main HTML propagate to the component. Styles defined in this component's @Component decorator are scoped to this component only.&lt;br&gt;
Native: Styles from main HTML do not propagate to the component. Styles defined in this &lt;br&gt;
None: Styles from the component propagate back to the main HTML and therefore are visible to all components on the page. Be careful with apps that have None and Native components in the application. All components with None encapsulation will have their styles duplicated in all components with Native encapsulation.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why prioritize TypeScript over JavaScript in Angular?
&lt;/h2&gt;

&lt;p&gt;TypeScript simplifies JavaScript code, making it easier to read and debug. TypeScript provides highly productive development tools for JavaScript IDEs and practices, like static checking. TypeScript makes code easier to read and understand. With TypeScript, we can make a huge improvement over plain JavaScript.&lt;/p&gt;

&lt;p&gt;There are many more benefits of TypeScript over Javascript:&lt;/p&gt;

&lt;p&gt;Consistency&lt;br&gt;
Productivity&lt;br&gt;
Maintainability&lt;br&gt;
Modularity&lt;br&gt;
Catch Errors Early&lt;/p&gt;
&lt;h2&gt;
  
  
  What is a Bootstrapping module in Angular?
&lt;/h2&gt;

&lt;p&gt;Bootstrapping in Angular is a function component in the core ng module that is used for starting up the Angular application. By default the Appcomponent is the default component that will be bootstraped.&lt;/p&gt;

&lt;p&gt;Below is the Default code for bootstrapping an angular application in app.module.ts&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@NgModule({
    declarations: [
        AppComponent,

    ],
    imports: [
        BrowserModule,
        AppRoutingModule,
    ],
    providers: [],
    bootstrap: [AppComponent],
    schemas: []
})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What is the difference between Pure and Impure pipe in Angular?
&lt;/h2&gt;

&lt;p&gt;A Pure Pipe is only called when Angular detects a change in the value or the parameters passed to a pipe.&lt;/p&gt;

&lt;p&gt;An Impure Pipe is called for every change detection cycle no matter whether the value or parameter(s) changes.&lt;/p&gt;

&lt;p&gt;Below is an example of pipe and its decorator for setting pipe type&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@Pipe({
 name: 'myCustomPipe', 
 pure: true    // true means this is a Pure Pipe and false means its and Impure Pipe (default is true)
})

export class MyCustomPipe {}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What is RxJS?
&lt;/h2&gt;

&lt;p&gt;The full form of RxJS is Reactive Extension for Javascript. It is a javascript library that uses observables to work with reactive programming that deals with asynchronous data calls, callbacks and event-based programs.&lt;/p&gt;

&lt;p&gt;RxJS is a library for reactive programming using observables that makes it easier to compose asynchronous or callback-based code. RxJS can be used with any other Javascript libraries and frameworks.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is an observable?
&lt;/h2&gt;

&lt;p&gt;Observables are simply a function that are able to give multiple values over time, either synchronously or asynchronously. You can also consider Observables as lazy Push collections of multiple values.&lt;/p&gt;

&lt;p&gt;Observables provide support for passing messages between parts of your application. They are used frequently in Angular and are a technique for event handling, asynchronous programming, and handling multiple values.&lt;/p&gt;

&lt;p&gt;We can subscribe to an observable and get values synchronously or asynchronously.&lt;/p&gt;

&lt;p&gt;Below is an example of how to create and Observable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var observable = Rx.Observable.create((observer: any) =&amp;gt;{

   observer.next("This is an Observable");

})

observable.subscribe((data)=&amp;gt;{
   console.log(data);    // output - "This is an Observable"
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What is an observer?
&lt;/h2&gt;

&lt;p&gt;Observers are just objects with three callbacks, one for each type of notification that an Observable may deliver.&lt;/p&gt;

&lt;p&gt;An Observer is a consumer of values delivered by an Observable. Observers are simply a set of callbacks, one for each type of notification delivered by the Observable: next , error , and complete.&lt;/p&gt;

&lt;p&gt;Below is an example of Observer and values retrieved after being Subscribed to it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const observer = {
 next: x =&amp;gt; console.log('This is next value: ' + x),
 error: err =&amp;gt; console.error('Observer got an error: ' + err),
};

observable.subscribe(observer);

//OR

observable.subscribe(observer =&amp;gt; {
  observer.next(10);
  observer.error("something went wrong");  
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What are Angular Elements?
&lt;/h2&gt;

&lt;p&gt;Angular elements are Angular components packaged as custom elements (also called Web Components), a web standard for defining new HTML elements in a framework-agnostic way.&lt;/p&gt;

&lt;p&gt;A custom element extends HTML by allowing you to define a tag whose content is created and controlled by JavaScript code. The browser maintains a CustomElementRegistry of defined custom elements, which maps an instantiable JavaScript class to an HTML tag.&lt;/p&gt;

&lt;p&gt;Live Example of Angular Elements :- Angular Elements Working Example&lt;/p&gt;

&lt;p&gt;The custom elements standard is currently supported by browsers like Chrome, Opera, and Safari. To be able to use it Firefox and Edge polyfills are available. The Angular Elements functionality is available with the package @angular/elements. &lt;/p&gt;

&lt;p&gt;In order to keep track of all available custom elements the browser maintains a registry in which every elements needs to be registered first. In this registry the name of the tag is mapped to the JavaScript class which controls the behavior and the output of that element.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Angular Universal or Angular SSR?
&lt;/h2&gt;

&lt;p&gt;Angular Universal is mechanism provided by Angular team by which you can render your single page angular application on server instead of Browser. Typical Angular applications are Single-Page Applications (aka SPA's) where the rendering occurs on the Browser. This process can also be referred to as client-side rendering (CSR).&lt;/p&gt;

&lt;p&gt;Angular Universal is a very helpful and SEO friendly approach for modern web applications.&lt;/p&gt;

&lt;p&gt;The Angular Universal provides 2 options:&lt;/p&gt;

&lt;p&gt;Server Side Rendering : In this method the requested page will be completely rendered on server and send to the browser&lt;br&gt;
Pre-Rendering : In this method you have to provide a list of routes you want to pre-render then by using the pre rendering command and the routes mentioned it will complete the Build with fully rendered HTML pages&lt;br&gt;
To add Angular Universal to your project use below command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ng add @nguniversal/express-engine&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  What are Service Workers in Angular?
&lt;/h2&gt;

&lt;p&gt;Service Worker in Angular is a script that runs in the web browser and manages caching for an application. Service workers function as a network proxy. They intercept all outgoing HTTP requests made by the application and can choose how to respond to them.&lt;/p&gt;

&lt;p&gt;Service Workers helps in improving your application's performance.&lt;/p&gt;

&lt;p&gt;To add Service Workers in your Angular application use below command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ng add @angular/pwa&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Checkout this Article: It covers complete Steps to Add Service Worker in Angular Application&lt;/p&gt;
&lt;h2&gt;
  
  
  What is Lazy Loading in Angular?
&lt;/h2&gt;

&lt;p&gt;Lazy Loading is a technique in Angular that allows you to load JavaScript components asynchronously when a specific route is activated. It improves the speed of the application load time by splitting the application into several bundles. When the user navigates through the app, the bundles are loaded as required.&lt;/p&gt;

&lt;p&gt;Instead of loading the entire web page and rendering it to the user in one go as in bulk loading, the concept of lazy loading assists in loading only the required section and delays the remaining, until it is needed by the user.&lt;/p&gt;

&lt;p&gt;Below is an example route for a lazy loaded module:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const routes: Routes = [
  {path: '', redirectTo: 'home', pathMatch: 'full'},
  {path: 'home', component: HomeComponent},
  {path: 'lazy', loadChildren: './lazy/lazy.module#LazyModule'}
];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What is a Shared Module in Angular?
&lt;/h2&gt;

&lt;p&gt;Shared modules in Angular helps you write more organized code in less time, helping you be more productive. Shared modules are an ideal spot to declare components in order to make them reusable. You won’t have to re-import the same components in every module—you’ll just import the shared module.&lt;/p&gt;

&lt;p&gt;Creating shared modules allows you to organize and streamline your code. You can put commonly used directives, pipes, and components into one module and then import just that module wherever you need it in other parts of your app.&lt;/p&gt;

&lt;p&gt;Below is an example of a Shared Module:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;﻿import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";

import { SharedRoutingModule } from "./shared-routing.module";
import { SharedComponent } from "./components/shared/shared.component";

@NgModule({
 declarations: [SharedComponent],
 imports: [CommonModule, SharedRoutingModule],
 exports: [SharedComponent]
})

export class SharedModule {}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What is DOM Sanitizer in Angular?
&lt;/h2&gt;

&lt;p&gt;Dom Sanitizer in Angular helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing values to be safe to use in the different DOM contexts.&lt;/p&gt;

&lt;p&gt;Below are the different methods Provided by Angular for Sanitization and make sure any user data is appropriately escaped for this security context.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//default sanitize data
abstract sanitize(context: SecurityContext, value: string | SafeValue): string | null

//sanitize html
abstract bypassSecurityTrustHtml(value: string): SafeHtml

//sanitize css
abstract bypassSecurityTrustStyle(value: string): SafeStyle

//sanitize scripts
abstract bypassSecurityTrustScript(value: string): SafeScript

//sanitize url
abstract bypassSecurityTrustUrl(value: string): SafeUrl

//sanitize resource urls
abstract bypassSecurityTrustResourceUrl(value: string): SafeResourceUrl
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Checkout other Articles in this series:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Part 1 of this series :- &lt;a href="https://stacksjar.com/post/angular-interview-questions-part-1" rel="noopener noreferrer"&gt;Angular Interview Questions Part 1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Part 2 of this series :- &lt;a href="https://stacksjar.com/post/angular-interview-questions-part-2" rel="noopener noreferrer"&gt;Angular Interview Questions Part 2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Part 3 of this series :- &lt;a href="https://stacksjar.com/post/angular-interview-questions-part-3" rel="noopener noreferrer"&gt;Angular Interview Questions Part 3&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>🔥🔥 Typescript New Version Features</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Mon, 29 Aug 2022 10:17:00 +0000</pubDate>
      <link>https://dev.to/stacksjar/typescript-new-version-features-opc</link>
      <guid>https://dev.to/stacksjar/typescript-new-version-features-opc</guid>
      <description>&lt;p&gt;TypeScript is a programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and adds optional static typing to the language.&lt;/p&gt;

&lt;p&gt;Typescript announced its Beta version 4.3 on 1st April 2021, to install this version you could use bellow command&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm install typescript@beta&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Template String Type Improvements&lt;br&gt;
New version introduces template literal types for contextually typed template literal expressions.Due to which when inferring to a template literal target type, typescript now permits the source type to also be a template literal type. &lt;/p&gt;

&lt;p&gt;Below are some examples of improved assignment relations:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;type Color = "red" | "blue";
type Quantity = "one" | "two";

type SeussFish = `${Quantity | Color} fish`;
// same as
//  type SeussFish = "one fish" | "two fish"
//         | "red fish" | "blue fish";
…or match patterns of other string-like types.

declare let s1: `${number}-${number}-${number}`;
declare let s2: `1-2-3`;

// Works!
s1 = s2;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Always-Truthy Promise Checks&lt;/strong&gt;&lt;br&gt;
Added support for throwing error for missing await in conditionals&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9f9g0e8sjqzvh1tsaznt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9f9g0e8sjqzvh1tsaznt.jpg" alt="Typescript new Updates Stacksjar.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;static Index Signatures&lt;br&gt;
Index signatures allow us set more properties on a value than a type explicitly declares. With latest version index signatures can now be declared as static.&lt;/p&gt;

&lt;p&gt;Import Statement Completions&lt;br&gt;
Improved Auto-imports statements, made easier and more reliable, When user start writing an import statement that doesn’t have a path, typescript will provide them with a list of possible imports. When user commit a completion, it’ll complete the full import statement, including the path that user were going to write.&lt;/p&gt;

&lt;p&gt;Below is the example of auto imports with latest version of typescript&lt;/p&gt;

&lt;p&gt;Editor Support for &lt;a class="mentioned-user" href="https://dev.to/link"&gt;@link&lt;/a&gt; Tags&lt;br&gt;
TypeScript can now understand &lt;a class="mentioned-user" href="https://dev.to/link"&gt;@link&lt;/a&gt; tags, and will try to resolve declarations that they link to. What this means is that you’ll be able to hover over names within &lt;a class="mentioned-user" href="https://dev.to/link"&gt;@link&lt;/a&gt; tags and get quick information, or use commands like go-to-definition or find-all-references.&lt;/p&gt;

&lt;p&gt;For example, you’ll be able to go-to-definition on bar in &lt;a class="mentioned-user" href="https://dev.to/link"&gt;@link&lt;/a&gt; bar in the example below and a TypeScript-supported editor will jump to bar‘s function declaration.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/**
 * This function depends on {@link bar}
 */
function foo() {

}

function bar() {

}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Union Enums Cannot Be Compared to Arbitrary Numbers&lt;br&gt;
Solved issue about Certain enums are considered union enums when their members are either automatically filled in, or trivially written. In those cases, an enum can recall each value that it potentially represents.&lt;/p&gt;

&lt;p&gt;In the new version, if a variable with a union enum type is compared with a numeric literal that it could never be equal to, then the type-checker will issue an error.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;enum E {
 A = 0,
 B = 1,
}

function doSomething(x: E) {
 // Error! This condition will always return 'false' since the types 'E' and '-1' have no overlap.
 if (x === -1) {
  // ...
 }
}

//As a workaround, you can re-write an annotation to include the appropriate literal type.

// Include -1 in the type, if we're really certain that -1 can come through.
function doSomething(x: E | -1) {
 if (x === -1) {
  // ...
 }
}


//You can also use a type-assertion on the value.
function doSomething(x: E) {
 // Use a type asertion on 'x' because we know we're not actually just dealing with values from 'E'.
 if ((x as number) === -1) {
  // ...
 }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Alternatively, you can re-declare your enum to have a non-trivial initializer so that any number is both assignable and comparable to that enum. This may be useful if the intent is for the enum to specify a few well-known values.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;enum E {
 // the leading + on 0 opts TypeScript out of inferring a union enum.
 A = +0,
 B = 1,
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you want to read the complete article you can checkout here.&lt;/p&gt;

&lt;p&gt;Happy Coding!&lt;/p&gt;

&lt;p&gt;For more Details Checkout the Article here:- &lt;a href="https://stacksjar.com/post/typescript-new-version-features" rel="noopener noreferrer"&gt;Typescript New Version Features&lt;/a&gt;&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>programming</category>
      <category>productivity</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Css Selectors for Input Ranges</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Mon, 29 Aug 2022 10:09:00 +0000</pubDate>
      <link>https://dev.to/stacksjar/css-selectors-for-input-ranges-4obb</link>
      <guid>https://dev.to/stacksjar/css-selectors-for-input-ranges-4obb</guid>
      <description>&lt;p&gt;In this post we are going to check Css Selectors for input ranges. This selectors would not be known by many of us.&lt;/p&gt;

&lt;p&gt;We all use input elements in our projects and must be aware of input type="number" this defines a field for entering number.&lt;/p&gt;

&lt;p&gt;This allows in restricting user to enter any other character other than numbers. When we use the tag input and give its type attribute value of "number" as below&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;input type="number"&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;This gives us below output&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9di8eci4n74p10r4etaj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9di8eci4n74p10r4etaj.jpg" alt="Input Range Selectors Css Stacksjar.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This input box comes with the 2 buttons on the right side which we can use to increase or decrease the number entered in the input.&lt;/p&gt;

&lt;p&gt;We can set the min and max values for the number to be entered in the input as below&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;input type="number" min="2" max="5"&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;This will restrict the user to enter only numbers that are between 2 and 5 as we have specified in the min and max attributes of the input.&lt;/p&gt;

&lt;p&gt;Now we can use the CSS Selector to detect if the user has not entered between the specified min and max values and apply css for the same.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;html&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;input type="number" min="2" max="5"&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;css&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;input:in-range {
  border: 1px solid green;
}

input:out-of-range {
border: 1px solid red;
}﻿
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above css code will check all the values entered in the Input Box, If the number entered in the input box is not between the range specified by min and max values it changes the color of input box to red as below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9br3gh4nwtehdk5f273k.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9br3gh4nwtehdk5f273k.jpg" alt="Input Range Selectors Css Stacksjar.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the number entered is between the min and max values it will change the input box's color to green as below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkgudzz8swc2icukvb8eq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkgudzz8swc2icukvb8eq.jpg" alt="Input Range Selectors Css Stacksjar.com"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;This was the usage of in-range and out-of-range css selectors, hope you find this usefull.&lt;/p&gt;

&lt;p&gt;Happy Coding!&lt;/p&gt;

&lt;p&gt;Checkout Complete Article Here: &lt;a href="https://stacksjar.com/post/css-selectors-for-input-ranges" rel="noopener noreferrer"&gt;Psuedo Selectors for Inputs in Css&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>ux</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>List of Best GitHub Repos for Web Developers</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Thu, 11 Aug 2022 21:40:50 +0000</pubDate>
      <link>https://dev.to/stacksjar/list-of-best-github-repos-for-web-developers-2jip</link>
      <guid>https://dev.to/stacksjar/list-of-best-github-repos-for-web-developers-2jip</guid>
      <description>&lt;p&gt;In this post we are going to check best GitHub Repositories for Web Developers to learn fundamentals of Coding and Boost Productivity. List of the most Useful GitHub Repos are as below&lt;/p&gt;

&lt;p&gt;Node.js Best Practices&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/goldbergyoni/nodebestpractices" rel="noopener noreferrer"&gt;https://github.com/goldbergyoni/nodebestpractices&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Watch: 1.7k Star: 61.8k Fork: 6k&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://twitter.com/nodepractices/" rel="noopener noreferrer"&gt;https://twitter.com/nodepractices/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxmxjqit90cuzipiclnym.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxmxjqit90cuzipiclnym.jpg" alt="Node.js Best Practices"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This repos consists of All the Node.js Best Practices and Projects Structures for your Node.js development. This repo supports multiple languages in which you can read.&lt;/p&gt;

&lt;p&gt;This repository is a summary and curation of the top-ranked content on Node.js best practices, as well as content written here by collaborators&lt;/p&gt;

&lt;p&gt;It is the largest compilation, and it is growing every week - currently, more than 80 best practices, style guides, and architectural tips are presented. New issues and pull requests are created every day to keep this live book updated.&lt;/p&gt;

&lt;p&gt;They are open for contribution checkout their Guidelines for contributing to the repo. This Contribution may include fixing code mistakes, helping with translations, or suggesting brilliant new ideas.&lt;/p&gt;

&lt;p&gt;This repo includes below:&lt;/p&gt;

&lt;p&gt;Project Structure Practices&lt;br&gt;
Error Handling Practices&lt;br&gt;
Code Style Practices&lt;br&gt;
Testing And Overall Quality Practices&lt;br&gt;
Production Practices&lt;br&gt;
Security Practices&lt;br&gt;
Performance Practices&lt;br&gt;
Docker Best Practices&lt;/p&gt;

&lt;p&gt;Html5-Boilerplate&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/h5bp/html5-boilerplate" rel="noopener noreferrer"&gt;https://github.com/h5bp/html5-boilerplate&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Watch: 2.7k Star: 49.3k Fork: 11.4k&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://html5boilerplate.com" rel="noopener noreferrer"&gt;https://html5boilerplate.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1acotcexpxrvpr5qk7dl.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1acotcexpxrvpr5qk7dl.jpg" alt="Html5-Boilerplate"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;HTML5 Boilerplate is a professional front-end template for building fast, robust, and adaptable web apps or sites.&lt;/p&gt;

&lt;p&gt;This project is the product maintainer over 10 years of iterative development and community knowledge. It does not impose a specific development philosophy or framework, so you're free to architect your code in the way that you want.&lt;/p&gt;

&lt;p&gt;You get various options to download and use this for you development check out the GitHub page.&lt;/p&gt;

&lt;p&gt;You can also checkout the live website from here html5-boilerplate&lt;/p&gt;

&lt;p&gt;You Don't Know JS (YDKJS)&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/getify/You-Dont-Know-JS" rel="noopener noreferrer"&gt;https://github.com/getify/You-Dont-Know-JS&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Watch: 5.9k Star: 135k Fork: 26.8k&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2m5m6ozdp7i3luqy1kt0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2m5m6ozdp7i3luqy1kt0.jpg" alt="You Don't Know JS (YDKJS)"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is a series of books diving deep into the core mechanisms of the JavaScript language. This is a book series there are two editions to it.&lt;/p&gt;

&lt;p&gt;These books are being released here as drafts, free to read, but are also being edited, produced, and published through O'Reilly.&lt;/p&gt;

&lt;p&gt;This books will be focusing on below topics:&lt;/p&gt;

&lt;p&gt;Scope &amp;amp; Closures&lt;br&gt;
Objects &amp;amp; Classes&lt;br&gt;
Types &amp;amp; Grammar&lt;br&gt;
Sync &amp;amp; Async&lt;br&gt;
ES.Next &amp;amp; Beyond&lt;/p&gt;

&lt;p&gt;Airbnb JavaScript Style Guide()&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/airbnb/javascript" rel="noopener noreferrer"&gt;https://github.com/airbnb/javascript&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Watch: 3.9k Star: 107k Fork: 20.6k&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0u0vwf2itg2k9u57k98.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0u0vwf2itg2k9u57k98.jpg" alt="Airbnb JavaScript Style Guide()"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This GitHub Repo is well structured for almost every aspects of JavaScript.&lt;/p&gt;

&lt;p&gt;This repo also supports multi language translation feature, which means you can read it from here under different languages.&lt;/p&gt;

&lt;p&gt;Below are the points cover in this GitHub Repo&lt;/p&gt;

&lt;p&gt;Types&lt;br&gt;
References&lt;br&gt;
Objects&lt;br&gt;
Arrays&lt;br&gt;
Destructuring&lt;br&gt;
Strings&lt;br&gt;
Functions&lt;br&gt;
Arrow Functions&lt;br&gt;
Classes &amp;amp; Constructors&lt;br&gt;
Modules&lt;br&gt;
Iterators and Generators&lt;br&gt;
Properties&lt;br&gt;
Variables&lt;br&gt;
Hoisting&lt;br&gt;
Comparison Operators &amp;amp; Equality&lt;br&gt;
Blocks&lt;br&gt;
Control Statements&lt;br&gt;
Comments&lt;br&gt;
Whitespace&lt;br&gt;
Commas&lt;br&gt;
Semicolons&lt;br&gt;
Type Casting &amp;amp; Coercion&lt;br&gt;
Naming Conventions&lt;br&gt;
Accessors&lt;br&gt;
Events&lt;br&gt;
jQuery&lt;br&gt;
ECMAScript 5 Compatibility&lt;br&gt;
ECMAScript 6+ (ES 2015+) Styles&lt;br&gt;
Standard Library&lt;br&gt;
Testing&lt;br&gt;
Performance&lt;br&gt;
Resources&lt;/p&gt;

&lt;p&gt;RealWorld&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/gothinkster/realworld" rel="noopener noreferrer"&gt;https://github.com/gothinkster/realworld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Watch: 1.6k Star: 55.4k Fork: 4.9k&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feaik6apxw9ufnmyocfg3.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feaik6apxw9ufnmyocfg3.jpg" alt="RealWorld"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While most "todo" demos provide an excellent cursory glance at a framework's capabilities, they typically don't convey the knowledge &amp;amp; perspective required to actually build real applications with it.&lt;/p&gt;

&lt;p&gt;RealWorld solves this by allowing you to choose any frontend (React, Angular 2, &amp;amp; more) and any backend (Node, Django, &amp;amp; more) and see how they power a real world, beautifully designed fullstack app called "Conduit".&lt;/p&gt;

&lt;p&gt;Over 100 implementations have been created using various languages, libraries, and frameworks.&lt;/p&gt;

&lt;p&gt;This Repo consists of step-by-step tutorials for all of stacks that teach you how to go from git init all the way to the production ready application.&lt;/p&gt;

&lt;p&gt;Front End Checklist&lt;br&gt;
GitHub: &lt;a href="https://github.com/thedaviddias/Front-End-Checklist" rel="noopener noreferrer"&gt;https://github.com/thedaviddias/Front-End-Checklist&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://frontendchecklist.io/" rel="noopener noreferrer"&gt;https://frontendchecklist.io/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Watch: 1.4k Star: 48.3k Fork: 4.8k&lt;/p&gt;

&lt;p&gt;The Front-End Checklist is an exhaustive list of all elements you need to have / to test before launching your website / HTML page to production.&lt;/p&gt;

&lt;p&gt;It is based on Front-End developers' years of experience, with the additions coming from some other open-source checklists.&lt;/p&gt;

&lt;p&gt;This Repo is also available in different other languages checkout the GitHub page&lt;/p&gt;

&lt;p&gt;So this was an github collection of repositories which included one of the most useful github repositories.&lt;/p&gt;

&lt;p&gt;Hope you have found this post Useful.&lt;/p&gt;

&lt;p&gt;Happy Coding!&lt;/p&gt;

&lt;p&gt;Read Complete Article Here:- &lt;a href="https://stacksjar.com/post/best-github-repos-for-web-developers" rel="noopener noreferrer"&gt;https://stacksjar.com/post/best-github-repos-for-web-developers&lt;/a&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Top Javascript Frameworks 2022</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Thu, 11 Aug 2022 21:28:00 +0000</pubDate>
      <link>https://dev.to/stacksjar/top-javascript-frameworks-2021-43e3</link>
      <guid>https://dev.to/stacksjar/top-javascript-frameworks-2021-43e3</guid>
      <description>&lt;p&gt;In this post we are going to check top javascript frameworks 2021 that we should get our Hands on. Below is the list of top javascript frameworks to learn in 2021 and check its pros and cons.&lt;/p&gt;

&lt;p&gt;Angular&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--i6ZNILOo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/884l6ug0k3k3ac95vsbu.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i6ZNILOo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/884l6ug0k3k3ac95vsbu.jpg" alt="Angular stacksjar.com" width="600" height="242"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Angular is an open source development platform, built on TypeScript by Google. Angular is a component-based framework for building scalable web applications.&lt;/p&gt;

&lt;p&gt;Angular consists of a collection of well-integrated libraries that cover a wide variety of features, including routing, forms management, client-server communication, and more.&lt;/p&gt;

&lt;p&gt;Angular is a suite of developer tools to help us develop, build, test, and update our code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantages of Angular:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;MVC Architecture implementation&lt;br&gt;
Enhanced Design Architecture&lt;br&gt;
Dependency Injection (DI)&lt;br&gt;
TypeScript: better tooling, cleaner code, and higher scalability&lt;br&gt;
Large community and ecosystem&lt;br&gt;
Powerful Router &lt;br&gt;
Disadvantages of Angular:&lt;/p&gt;

&lt;p&gt;Limited SEO options&lt;br&gt;
Steeper learning curve&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;React JS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EaQvocsw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pumzhcanicxihltnuez5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EaQvocsw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pumzhcanicxihltnuez5.jpg" alt="React JS stacksjar.com" width="600" height="214"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;React is an open-source, front end, JavaScript library for building user interfaces or UI components. It is maintained by Facebook and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantages of React JS:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Easy to learn and Use&lt;br&gt;
Creating Dynamic Web Applications Becomes Easier&lt;br&gt;
Reusable Components&lt;br&gt;
Performance Enhancement&lt;br&gt;
The Support of Handy Tools&lt;br&gt;
SEO Friendly&lt;br&gt;
Its a JavaScript Library&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disadvantages of React JS:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The high pace of development&lt;br&gt;
Poor Documentation&lt;br&gt;
Focused only on View Part&lt;br&gt;
JSX having steep learning curve&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vue JS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tizP3Qn3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f6xjma4vjulcxmx6ig6a.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tizP3Qn3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f6xjma4vjulcxmx6ig6a.jpg" alt="Vue JS stacksjar.com" width="600" height="252"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Vue.js is an open-source model–view–viewmodel front end JavaScript framework for building user interfaces and single-page applications. It was created by Evan You, and is maintained by him and the rest of the active core team members.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantages of Vue JS:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Tiny size&lt;br&gt;
Virtual DOM rendering and performance&lt;br&gt;
Reactive two-way data binding&lt;br&gt;
Single-file components and readability&lt;br&gt;
Integration capabilities and flexibility&lt;br&gt;
Solid tooling ecosystem&lt;br&gt;
Easy to learn&lt;br&gt;
Concise documentation&lt;br&gt;
Disdvantages of Vue JS:&lt;/p&gt;

&lt;p&gt;Reactivity complexity&lt;br&gt;
Lack of support for large-scale projects&lt;br&gt;
Risk of over flexibility&lt;br&gt;
Limited resources&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ember JS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xkfzY3bq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4k36jhsz88ppvpnkmhj5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xkfzY3bq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4k36jhsz88ppvpnkmhj5.jpg" alt="Ember JS stacksjar.com" width="600" height="224"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ember.js is an open-source JavaScript web framework, utilizing a component-service pattern. It allows developers to create scalable single-page web applications by incorporating common idioms, best practices, and patterns from other single-page-app ecosystem patterns into the framework.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantages of Ember JS:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ember CLI&lt;br&gt;
Community&lt;br&gt;
Ember Octane&lt;br&gt;
Convention over configuration&lt;br&gt;
Stability sans stagnation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disdvantages of Ember JS:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Tough to learn&lt;br&gt;
Highly opinionated&lt;br&gt;
Sluggishness in popularity&lt;/p&gt;

&lt;p&gt;Backbone JS&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iZa819u8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5yipt0uuime0k7u5s29a.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iZa819u8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5yipt0uuime0k7u5s29a.jpg" alt="Backbone JS stacksjar.com" width="600" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Backbone.js is a JavaScript library with a RESTful JSON interface and is based on the model–view–controller application design paradigm. Backbone is known for being lightweight, as its only hard dependency is on one JavaScript library, Underscore.js, plus jQuery for use of the full library.&lt;/p&gt;

&lt;p&gt;Advantages of Backbone JS:&lt;/p&gt;

&lt;p&gt;Fast to pick up&lt;br&gt;
Easy customizable&lt;br&gt;
Javascript structure&lt;br&gt;
Lightweight&lt;br&gt;
Flexible&lt;br&gt;
Performance Control&lt;/p&gt;

&lt;p&gt;Disdvantages of Backbone JS:&lt;/p&gt;

&lt;p&gt;Productivity&lt;br&gt;
Memory Leaking&lt;br&gt;
Required basic tool to create architecture structure&lt;br&gt;
Data binding&lt;/p&gt;

&lt;p&gt;Read Complete Article here:- &lt;a href="https://stacksjar.com/post/top-javascript-frameworks-to-learn-in-2021"&gt;https://stacksjar.com/post/top-javascript-frameworks-to-learn-in-2021&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>typescript</category>
    </item>
    <item>
      <title>✨10 Html Tags to make Life Easier</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Sat, 06 Aug 2022 16:08:20 +0000</pubDate>
      <link>https://dev.to/stacksjar/10-html-tags-to-make-life-easier-4886</link>
      <guid>https://dev.to/stacksjar/10-html-tags-to-make-life-easier-4886</guid>
      <description>&lt;p&gt;Meter Tag &lt;br&gt;
The Meter tag in HTML allows us to represent the data in a graphical format without doing much of coding. The meter tag is used to measure data within a given range. It defines a scalar measurement with range. It is also known as a gauge. It can be used to display metrics info such as quantity of something or showing ratings or marks etc.&lt;/p&gt;

&lt;p&gt;Below is an example of Meter Tag &lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;h2&amp;gt;Stacksjar.com&amp;lt;/h2&amp;gt;
&amp;lt;hr&amp;gt;

&amp;lt;br&amp;gt;
&amp;lt;label for="disk_c"&amp;gt;Best Web Development Articles&amp;lt;/label&amp;gt;
&amp;lt;meter id="disk_c" value="8" min="0" max="10"&amp;gt;8 out of 10&amp;lt;/meter&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;
&amp;lt;label for="disk_c"&amp;gt;Web Development Memes&amp;lt;/label&amp;gt;
&amp;lt;meter id="disk_c" value="6" min="0" max="10"&amp;gt;6 out of 10&amp;lt;/meter&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;
&amp;lt;label for="disk_c"&amp;gt;Quotes for Web Development Articles&amp;lt;/label&amp;gt;
&amp;lt;meter id="disk_c" value="4" min="0" max="10"&amp;gt;4 out of 10&amp;lt;/meter&amp;gt;&amp;lt;br&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Below is the Output for Meter Tag&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ue5pg0cN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sfvtya0fu78ka0gkq3f7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ue5pg0cN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sfvtya0fu78ka0gkq3f7.jpg" alt="Stacksjar.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Wordbreaker Tag &lt;br&gt;
The wordbreaker tag in HTML is used to break a sentence within a paragraph at a particular instance or after a particular work as per our requirements. This tag will come in effect for responsive purposes when we resize the window we will see that the text inside the  tag will begin in new line apart from being randomly broken from anywhere between sentence.&lt;/p&gt;

&lt;p&gt;Below is an example of Wordbreaker tag &lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;p&amp;gt;This is a veryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryvery&amp;lt;wbr&amp;gt;longwordthatwillbreakatspecific&amp;lt;wbr&amp;gt;placeswhenthebrowserwindowisresized.
&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Below is the Output of Wordbreaker tag&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1u9mpp_J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s8bc9ch83gkcyc7adm9t.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1u9mpp_J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s8bc9ch83gkcyc7adm9t.jpg" alt="Stacksjar.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Link Tag that Dials Numbers &lt;br&gt;
If we include "tel" keyword in value of "href" attribute of link tag followed by the number, it will allow the device to initiate a call. The device will call the number when user clicks on the Link. This functionality works on mobile devices, tablets uses software's like skype, face time or devices which supports cellular calling.&lt;/p&gt;

&lt;p&gt;Below is the Output of Link Tag that dials numbers.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;a href="tel:1234567890"&amp;gt;Call Us&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Fieldset Tag and Legend Tag &lt;/p&gt;

&lt;p&gt;The fieldset tag in HTML is used to specify a group of form elements. And the Legend Tag is used to define the title for the child contents. The legend elements are the parent element. This tag is used to define the caption for the fieldset element.&lt;/p&gt;

&lt;p&gt;Below is an example of Fieldset tag and Legend Tag&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;legend&amp;gt;
&amp;lt;form&amp;gt;
  &amp;lt;fieldset&amp;gt;
    &amp;lt;legend style="float:right"&amp;gt;Sign Up:&amp;lt;/legend&amp;gt;
    &amp;lt;label for="fname"&amp;gt;First name:&amp;lt;/label&amp;gt;
    &amp;lt;input type="text" id="fname" name="fname"&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
    &amp;lt;label for="lname"&amp;gt;Last name:&amp;lt;/label&amp;gt;
    &amp;lt;input type="text" id="lname" name="lname"&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
    &amp;lt;label for="email"&amp;gt;Email:&amp;lt;/label&amp;gt;
    &amp;lt;input type="email" id="email" name="email"&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
    &amp;lt;label for="password"&amp;gt;password:&amp;lt;/label&amp;gt;
    &amp;lt;input type="password" id="password" name="password"&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
    &amp;lt;input type="submit" value="Submit"&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&amp;lt;/form&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Below is the Output of Fieldset tag and Legend Tag  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--egvKCpTE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lma2unxx3zsjvddz0a2f.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--egvKCpTE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lma2unxx3zsjvddz0a2f.jpg" alt="stacksjar.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open Link in New Tab &lt;/p&gt;

&lt;p&gt;The "target" attribute of link tag allows us to decide whether the link should be opened in new tab or the same tab the user is in. If we pass in the value "_blank" to the target attribute it will open the link in new tab when user clicks on the particular link&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;a href="https://stacksjar.com/memes" target="_blank"&amp;gt;Web Development Memes&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Code Tag &lt;br&gt;
The code tag in html allows to define a fragment of code in the html. Which will be displayed in a code editor view/format in the browser.&lt;/p&gt;

&lt;p&gt;Below is the example of Code tag&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
function print() {

 console.log("High Quality Practical Resources to skill up your Web Development Career and Boost your           Productivity");

}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Below is the Output of Code tag &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4WqrvlGT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4l8ochvrp8wz9p04wmc7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4WqrvlGT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4l8ochvrp8wz9p04wmc7.jpg" alt="Stacksjar.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Keyboard Tag &lt;br&gt;
The kbd tag is also know as keyboard tag. HTML keyboard tag represents the part of inline text which indicates the user keyboard input, voice input, or any other text entry device input. The keyboard text renders on the browser in default monospace font. This tag is used when a document needs to display the text which user should enter exactly from his keyboard.&lt;/p&gt;

&lt;p&gt;Below is the example of keyboard tag&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;p&amp;gt;Save this File by Pressing &amp;lt;kbd&amp;gt;Ctrl + S&amp;lt;/kbd&amp;gt;&amp;lt;/p&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Below is the Output of keyboard tag &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kbpb7fdK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ajc7i46cpiuf90oa2xe0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kbpb7fdK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ajc7i46cpiuf90oa2xe0.jpg" alt="Stacksjar.com"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read Complete Article here:- &lt;a href="https://stacksjar.com/post/10-html-tags-to-make-life-easier"&gt;10 Html Tags to make Life Easier&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>tutorial</category>
      <category>webdev</category>
      <category>codequality</category>
    </item>
    <item>
      <title>💎Free Wordpress Themes for your Website💎</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Sat, 06 Aug 2022 16:07:20 +0000</pubDate>
      <link>https://dev.to/stacksjar/themesrain-for-building-a-perfect-website-for-your-business-280p</link>
      <guid>https://dev.to/stacksjar/themesrain-for-building-a-perfect-website-for-your-business-280p</guid>
      <description>&lt;h2&gt;
  
  
  What is ThemesRain?
&lt;/h2&gt;

&lt;p&gt;ThemesRain is a marketplace where you can purchase both, premium and free versions of WordPress themes to design a website that is both professional and simple to create. Each website designed using the ThemesRain template is retina-ready and designed to reach out to larger audiences with enhanced search engine optimization, responsive design, and innovative designing. &lt;/p&gt;

&lt;p&gt;If you are wondering whether it is perfect for your business, then keep on reading. Below we'll mention some of the pros and cons of ThemesRain WordPress themes, which will help your business create a niche for itself. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;● Themes listed on ThemesRain are highly customizable &lt;/p&gt;

&lt;p&gt;● You get the best deal with ThemesRains&lt;/p&gt;

&lt;p&gt;● Enhance safety for payment transactions&lt;/p&gt;

&lt;p&gt;● User-friendly and simple designs for quick installations  &lt;/p&gt;

&lt;p&gt;● Highly responsive design which works across any platform &lt;/p&gt;

&lt;p&gt;● SEO-optimized designs to improve your ratings&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cons&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;● Designing, developing and maintenance of website based on WordPress can be challenging&lt;/p&gt;

&lt;p&gt;● Though some WordPress themes are free, you may need to purchase plugins to get the best results&lt;/p&gt;

&lt;p&gt;● SEO-based features of WordPress can be difficult to understand for beginners&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Product Categories Of ThemesRain (Premium and Free)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;ThemesRain offers a wide range of pre-designed WordPress themes that are suitable for a variety of businesses. Most businesses suffer due to a lack of professional websites which can direct more business and clients towards them. A professional website not only builds trust among customers but also helps you become a part of the never-ending business world. Having said that not everyone is well-versed with coding and creating a website for businesses can be a tough nut to crack.&lt;/p&gt;

&lt;p&gt;If you think that you can hire a person who is well-versed with coding languages, then it's well and good, but not every business has a budget set aside for website developers, in that case, you need an alternative and that’s where WordPress themes by ThemesRain come in. All themes designed by ThemesRain are designed for people with limited to no knowledge of coding. With easy demo and one-click installation, you get to design a professional website which is your way to make a name for yourself and your business. &lt;/p&gt;

&lt;p&gt;In case you are wondering whether, ThemesRain has a template for business, then check out below for different types of businesses they cater to. We are sure there is one theme that is perfect for your business:&lt;/p&gt;

&lt;p&gt;● Restaurant Websites&lt;/p&gt;

&lt;p&gt;● Construction &amp;amp; Real Estate Websites&lt;/p&gt;

&lt;p&gt;● Beauty Industry Websites&lt;/p&gt;

&lt;p&gt;● Interior Design Websites&lt;/p&gt;

&lt;p&gt;● University &amp;amp; Institute Websites&lt;/p&gt;

&lt;p&gt;● Sports Websites&lt;/p&gt;

&lt;p&gt;● Legal Firm Websites&lt;/p&gt;

&lt;p&gt;● Travel Blogs&lt;/p&gt;

&lt;p&gt;● Flower Business Websites&lt;/p&gt;

&lt;p&gt;● News Agency Websites&lt;/p&gt;

&lt;p&gt;● Medical Websites&lt;/p&gt;

&lt;p&gt;● Cryptocurrency Websites&lt;/p&gt;

&lt;p&gt;● Funeral Business Websites&lt;/p&gt;

&lt;p&gt;● Car Mechanic Websites&lt;/p&gt;

&lt;p&gt;● Health Websites&lt;/p&gt;

&lt;p&gt;All the themes that we have mentioned are available in premium and free versions. But we urge you to invest in a premium version that allows you to reap the full benefits of WordPress themes with all the features, plugins, and add-ons.&lt;/p&gt;

&lt;p&gt;Get Discounts from Here:- &lt;a href="https://stacksjar.com/post/themesrain-for-building-a-perfect-website-for-your-business"&gt;Free Wordpress Themes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>codenewbie</category>
      <category>programming</category>
    </item>
    <item>
      <title>Enable Together Mode in Microsoft Teams</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Sat, 06 Aug 2022 16:06:21 +0000</pubDate>
      <link>https://dev.to/stacksjar/enable-together-mode-in-microsoft-teams-1c4n</link>
      <guid>https://dev.to/stacksjar/enable-together-mode-in-microsoft-teams-1c4n</guid>
      <description>&lt;p&gt;Microsoft has launched a new feature for their teams application. Together mode is one of the feature of new meeting experience in Teams app. The together mode uses AI segmentation technology to digitally place participants in a shared background. This makes you feel like you’re sitting in the same room with everyone else in the meeting or class as shown in image above. Below is the difference between the normal meeting experience and together mode meeting experience.&lt;/p&gt;

&lt;p&gt;Who Can Use Together Mode in Teams?&lt;br&gt;
The Together Mode feature is available to all users. As of now, it is available for the desktop version only but will be extended to the Android/iOS Teams application soon mentioned by Microsoft Teams. As seen in the picture above, the Together Mode feature will be launched with an auditorium view. This view provides a semblance to people gathered in an auditorium, while you watch the audience as a speaker. More views are expected to be launched as the feature evolves.&lt;/p&gt;

&lt;p&gt;How do you get team mode together?&lt;br&gt;
Open Microsoft Teams, Click on profile icon &amp;gt; About &amp;gt; Version – Now you can see the current version of MS-Teams make sure you are updated to latest version.&lt;/p&gt;

&lt;p&gt;Now Click on profile icon &amp;gt; Settings &amp;gt; Put a check mark in “Turn on New Meeting Experience” &lt;/p&gt;

&lt;p&gt;Then In Teams Go-to your calendar, Click on Meet Now &amp;gt; if the new meeting experience is enabled, user find the meeting controls at top of the window.&lt;/p&gt;

&lt;p&gt;Microsoft ensures that the Teams app will now segment the faces using Artificial Intelligense (AI) and bring everyone together. This feature requires at least need 4 participants from same tenant to enable Together Mode in Microsoft Teams. Together mode stays greyed out until the 4th participant joins the call. Microsoft states that the gallery view can fit up to 49 users max at present.&lt;/p&gt;

&lt;p&gt;In addition - Dynamic View, Large gallery view, Live reactions, video filters are also features of new meeting experience &lt;/p&gt;

&lt;p&gt;Advantages of Together Mode&lt;br&gt;
The primary benefit of Together Mode in Microsoft Teams is being able to see all the members of the meeting together as if they are one room or class and sitting together. It can discard the old classic video call feature where you can see one people at a time with a boxed view which nullifies to see just a restricted number of people at a time is eased. When you make a normal Teams video conference, the person who is talking frequently appears on the meeting screen with the boxed view. The rest of the persons in the meeting are in the background and are virtually ignored until they start talking in the meeting. This new feature ‘Together Mode’ acknowledges this issue. You can easily view all the people present on the call as well as read their body language and reactions during the meeting, just like we do can in physically with ease of our homes. Also this advantage is otherwise very difficult in their home environments or different backgrounds.&lt;/p&gt;

&lt;p&gt;Read Complete Article Here:- &lt;a href="https://stacksjar.com/post/enable-together-mode-in-microsoft-teams"&gt;Enable Together Mode in Microsoft Teams&lt;/a&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>tutorial</category>
      <category>webdev</category>
      <category>tooling</category>
    </item>
    <item>
      <title>✨Useful Css Shorthand Properties</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Sat, 06 Aug 2022 16:05:39 +0000</pubDate>
      <link>https://dev.to/stacksjar/useful-css-shorthand-properties-2ek</link>
      <guid>https://dev.to/stacksjar/useful-css-shorthand-properties-2ek</guid>
      <description>&lt;p&gt;In this post we are going to check the most useful and commonly used Css Shorthand Properties which will help us in our productivity.&lt;/p&gt;

&lt;p&gt;Shorthand properties are CSS properties that let you set the values of multiple other CSS properties simultaneously. Using a shorthand property, you can write more concise (and often more readable) style sheets, saving time and energy.&lt;/p&gt;

&lt;p&gt;The CSS specification defines shorthand properties to group the definition of common properties acting on the same theme. For instance, the CSS background property is a shorthand property that's able to define the values of background-color, background-image, background-repeat, and background-position. Similarly, the most common font-related properties can be defined using the shorthand font, and the different margins around a box can be defined using the margin shorthand.&lt;/p&gt;

&lt;p&gt;These are Top 5 Useful CSS Shorthand Properties&lt;/p&gt;

&lt;h2&gt;
  
  
  Shorthand Property for FONTS
&lt;/h2&gt;

&lt;p&gt;Before:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; font-style: italic;
 font-weight: bold;
 font-size: 18px;
 font-family: 'Bree Serif', serif;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; font: italic bold 18px Bree Serif, sans-serif;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Shorthand Property for BACKGROUND
&lt;/h2&gt;

&lt;p&gt;Before:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; background-color: white;
 background-image: url(images/background.jpg);
 background-repeat: no-repeat;
 background-position: top right;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; background: white url(images/background.jpg) no-repeat top right;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Shorthand Property for MARGIN
&lt;/h2&gt;

&lt;p&gt;Before:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; margin-top: 10px;
 margin-right: 4px
 margin-bottom: 10px;
 margin-left: 4px;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;margin: 10px 4px 10px 4px;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Shorthand Property for LIST
&lt;/h2&gt;

&lt;p&gt;Before:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; list-style-type: circle;
 list-style-position: inside;
 list-style-image: url(pointer.jpg);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list-style: circle inside url(pointer.jpg);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Shorthand Property for BORDER
&lt;/h2&gt;

&lt;p&gt;Before:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  border-width: 1px;
  border-style: solid;
  border-color: gray;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;border: 1px solid gray;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Hope you find this post Useful.&lt;/p&gt;

&lt;p&gt;Read Complete Article Here: &lt;a href="https://stacksjar.com/post/useful-css-shorthand-properties"&gt;Useful Css Shorthand Properties&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>uiweekly</category>
      <category>tutorial</category>
      <category>design</category>
    </item>
    <item>
      <title>✨Web Developement Quotes | Developer Slangs</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Fri, 05 Aug 2022 21:38:56 +0000</pubDate>
      <link>https://dev.to/stacksjar/web-developement-quotes-developer-slangs-4n4m</link>
      <guid>https://dev.to/stacksjar/web-developement-quotes-developer-slangs-4n4m</guid>
      <description>&lt;p&gt;“If you think math is hard, try web design.”&lt;br&gt;
-&lt;em&gt;Trish Parr&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“Design is not just what it looks like and feels like. Design is how it works.”&lt;br&gt;
-&lt;em&gt;Steve Jobs&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“If you think good design is expensive, you should look at the cost of bad design.”&lt;br&gt;
-&lt;em&gt;Ralf Speth&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“If you do good work for good clients, it will lead to other good work for other good clients. If you do bad work for bad clients, it will lead to other bad work for other bad clients.”&lt;br&gt;
-&lt;em&gt;Michael Bierut&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.”&lt;br&gt;
-&lt;em&gt;Antoine de Saint-Exupéry&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“Digital design is like painting, except the paint never dries.”&lt;br&gt;
-&lt;em&gt;Neville Brody&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“Socrates said, “Know thyself.” I say, “Know thy users.” And guess what? They don’t think like you do.”&lt;br&gt;
-&lt;em&gt;Joshua Brewer&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“I want to make beautiful things, even if nobody cares, as opposed to ugly things. That’s my intent.”&lt;br&gt;
-&lt;em&gt;Saul Bass&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“Good design is all about making other designers feel like idiots because that idea wasn’t theirs.”&lt;br&gt;
-&lt;em&gt;Frank Chimero&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“I strive for two things in design: simplicity and clarity. Great design is born of those two things.”&lt;br&gt;
-&lt;em&gt;Lindon Leader&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“Content precedes design. Design in the absence of content is not design, it’s decoration.”&lt;br&gt;
-&lt;em&gt;Jeffrey Zeldman&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“There is no such thing as a boring project. There are only boring executions.”&lt;br&gt;
-*Irene Etzkorn&lt;/p&gt;

&lt;p&gt;“Websites promote you 24/7: No employee will do that.”&lt;br&gt;
-&lt;em&gt;Paul Cookson&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“It’s not how good you are, it’s how good you want to be”&lt;br&gt;
-&lt;em&gt;Paul Arden&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“Great web design without functionality is like a sports car with no engine.”&lt;br&gt;
-&lt;em&gt;Paul Cookson&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“Good design is obvious. Great design is transparent.”&lt;br&gt;
-&lt;em&gt;Joe Sparano&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“Websites should look good from the inside and out.”&lt;br&gt;
-&lt;em&gt;Paul Cookson&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“The idea of waiting for something makes it more fascinating”.&lt;br&gt;
-&lt;em&gt;Andy Warhol&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Get Random Quotes Here: &lt;a href="https://stacksjar.com/quotes"&gt;Stacksjar Quotes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>codingslangs</category>
      <category>developerquotes</category>
    </item>
    <item>
      <title>🎨Top 12 Color Palette Tools | Best Color Picker Tools</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Fri, 05 Aug 2022 21:38:26 +0000</pubDate>
      <link>https://dev.to/stacksjar/top-12-color-palette-tools-best-color-picker-tools-4egn</link>
      <guid>https://dev.to/stacksjar/top-12-color-palette-tools-best-color-picker-tools-4egn</guid>
      <description>&lt;p&gt;In this post we are going to check top 12 color palettes tools available in the market for free. You can use this color picket tool for free for your next project.&lt;/p&gt;

&lt;p&gt;Html Color Codes&lt;/p&gt;

&lt;p&gt;Get HTML color codes, Hex color codes, RGB and HSL values with our color picker, color chart and HTML color names. Let's go!&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://htmlcolorcodes.com/"&gt;HTML Color Codes&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--F0LM6HvC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yifrzpxckg67k5zswriw.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--F0LM6HvC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yifrzpxckg67k5zswriw.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pros and Cons of HTML Color Codes&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;HueSnap&lt;/p&gt;

&lt;p&gt;HueSnap is a color sharing community for creatives, focused on allowing users to create palettes through snapping colors from images or now, using our color tool.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://www.huesnap.com/"&gt;HueSnap&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Dzqr_wBA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fisyczrejba4su1emkq7.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Dzqr_wBA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fisyczrejba4su1emkq7.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pros and Cons of HTML Color Codes&lt;br&gt;
Pros&lt;/p&gt;

&lt;p&gt;Create Customized Palettes: &lt;br&gt;
Snap colors from your uploaded images or use the color wheel to create a customized palette.&lt;br&gt;
Share Your Creations&lt;br&gt;
Share your created palettes with the community and find color inspirations for projects.&lt;br&gt;
Sync between devices&lt;br&gt;
Access your color palettes through Desktop or your devices on iOS or Android.&lt;/p&gt;

&lt;p&gt;ColourLovers&lt;br&gt;
Share Your Color Ideas &amp;amp; Inspiration. COLOURlovers is a creative community where people from around the world create and share colors, palettes and patterns, discuss the latest trends and explore colorful articles... All in the spirit of love.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://www.colourlovers.com/"&gt;ColourLovers&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ghPmHDc7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/74gemeo0q5zqo7rg3w96.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ghPmHDc7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/74gemeo0q5zqo7rg3w96.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pros and Cons of  Colour Lovers&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;Colormind&lt;br&gt;
Colormind is a color scheme generator that uses deep learning. It can learn color styles from photographs, movies, and popular art.Different datasets are loaded each day, check back tomorrow for even more color inspiration. Visit the blog for tech info or have a look at our API&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="http://colormind.io/"&gt;Colormind&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1GVij1Ms--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/57m19micpee7fwlbt1x9.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1GVij1Ms--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/57m19micpee7fwlbt1x9.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pros and Cons of Colormind:&lt;br&gt;
Colormind has a REST API. The API allows you to access all the features that you see on Colormind.io.&lt;br&gt;
The API is free for personal and non-commercial use.&lt;/p&gt;

&lt;p&gt;ColorHunt&lt;br&gt;
Color Hunt provides Color Palettes for Designers and Artists. Discover the newest hand-picked palettes of Color Hunt&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://www.colorhunt.co/"&gt;ColorHunt&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ONkGsKwl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ejdj4m724od9zjcxo2uv.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ONkGsKwl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ejdj4m724od9zjcxo2uv.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pros and Cons of Color Hunt&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;Eggradients&lt;br&gt;
Eggradient is a color collection tool. The collection builds to make designer life easy. Generating the cool gradients is time-consuming. In this collection, the designer finds what exactly they want.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://www.eggradients.com/"&gt;Eggradients&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--feTF8D2F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9o0khf9cdlrbw34u9x00.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--feTF8D2F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9o0khf9cdlrbw34u9x00.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pros and Cons of Eggradients&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;Khroma&lt;br&gt;
Khroma is an AI-based color tool built specifically for designers. With Khroma, you get to train an AI algorithm by choosing 50 colours that you like. These colours are then used to train a neural network that can recognise thousands of other similar colours. Based on your preferences, the model generates an endless combination of color palettes.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="http://khroma.co/"&gt;Khroma&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--abHJKsfb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v4h7052zklk32pmedch1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--abHJKsfb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v4h7052zklk32pmedch1.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pros and Cons of Khroma&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;Read Complete Article Here:- &lt;a href="https://stacksjar.com/post/top-12-color-palette-tools-best-color-picker-tools"&gt;Top 12 Color Palette Tools | Best Color Picker Tools&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>uiweekly</category>
      <category>productivity</category>
      <category>design</category>
    </item>
    <item>
      <title>📚Angular Interview Questions Part 2</title>
      <dc:creator>Stacksjar</dc:creator>
      <pubDate>Fri, 05 Aug 2022 21:27:00 +0000</pubDate>
      <link>https://dev.to/stacksjar/angular-interview-questions-part-2-10bn</link>
      <guid>https://dev.to/stacksjar/angular-interview-questions-part-2-10bn</guid>
      <description>&lt;p&gt;In this article we are going to see a well curated list of angular interview questions 2021 and answers for experienced as well as freshers&lt;/p&gt;

&lt;h2&gt;
  
  
  What is AOT compilation?
&lt;/h2&gt;

&lt;p&gt;An Angular application consists mainly of components and their HTML templates. Because the components and templates provided by Angular cannot be understood by the browser directly, Angular applications require a compilation process before they can run in a browser.&lt;/p&gt;

&lt;p&gt;For this Angular provides two types of compilers JIT and AOT. JIT stands for Just in Time, and AOT stands for Ahead of Time.&lt;/p&gt;

&lt;p&gt;The Angular ahead-of-time (AOT) compiler converts our Angular HTML and TypeScript code into efficient JavaScript code during the build phase before the browser downloads and runs that code. Compiling your application during the build process provides a faster rendering in the browser.&lt;/p&gt;

&lt;p&gt;We can use either JIT or AOT compiler for building our application.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//To use JIT compiler for Build run
ng build

//To use AOT compiler for Build run
ng build --prod

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What are the advantages of AOT?
&lt;/h2&gt;

&lt;p&gt;Smaller application size (Angular compiler excluded)&lt;br&gt;
Faster component rendering (already compiled templates)&lt;br&gt;
Template parse errors detected earlier (at build time)&lt;br&gt;
More secure (no need to evaluate templates dynamically)&lt;/p&gt;

&lt;p&gt;How are Angular expressions different from JavaScript expressions?&lt;br&gt;
Like JavaScript expressions, Angular expressions can contain literals, operators, and variables. Unlike JavaScript expressions.&lt;/p&gt;

&lt;p&gt;Angular expressions can be written inside HTML. Angular expressions do not support conditionals, loops, and exceptions, while JavaScript expressions do.&lt;/p&gt;

&lt;p&gt;Angular expressions support filters, while JavaScript expressions do not.&lt;/p&gt;
&lt;h2&gt;
  
  
  How are observables different from promises?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Observables:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Emit multiple values over a period of time.&lt;br&gt;
Are lazy: they’re not executed until we subscribe to them using the subscribe() method.&lt;br&gt;
Have subscriptions that are cancellable using the unsubscribe() method, which stops the listener from receiving further values.&lt;br&gt;
Provide the map for forEach, filter, reduce, retry, and retryWhen operators.&lt;br&gt;
Deliver errors to the subscribers.&lt;br&gt;
Promises:&lt;/p&gt;

&lt;p&gt;Emit a single value at a time.&lt;br&gt;
Are not lazy: execute immediately after creation.&lt;br&gt;
Are not cancellable.&lt;br&gt;
Don’t provide any operations.&lt;br&gt;
Push errors to the child promises.&lt;/p&gt;
&lt;h2&gt;
  
  
  Explain the concept of Dependency Injection?
&lt;/h2&gt;

&lt;p&gt;In software engineering, Dependency Injection is a technique in which an object receives other objects that it depends on. These other objects are called dependencies. The "injection" refers to the passing of a dependency (a service) into the object (a class) that would use it.&lt;/p&gt;

&lt;p&gt;There are basically three types of dependency injection:&lt;/p&gt;

&lt;p&gt;Constructor Injection: the dependencies are provided through a class constructor.&lt;br&gt;
Setter Injection: the client exposes a setter method that the injector uses to inject the dependency.&lt;br&gt;
Interface Injection: the dependency provides an injector method that will inject the dependency into any client passed to it. Clients must implement an interface that exposes a setter method that accepts the dependency.&lt;/p&gt;
&lt;h2&gt;
  
  
  Describe the MVVM architecture.
&lt;/h2&gt;

&lt;p&gt;Model–View–ViewModel (MVVM) is a software architectural pattern that facilitates the separation of the development of the presentation layer (the view) – be it via a markup language or GUI code – from the development of the logical layer or back-end logic (the model) so that the view is not dependent on any specific model platform.&lt;/p&gt;

&lt;p&gt;Discuss the advantages and disadvantages of using Angular? &lt;br&gt;
Below are the advantages and disadvantages of Angular.&lt;/p&gt;
&lt;h2&gt;
  
  
  Advantages of Angular:
&lt;/h2&gt;

&lt;p&gt;MVC Architecture implementation&lt;br&gt;
Enhanced Design Architecture&lt;br&gt;
Dependency Injection (DI)&lt;br&gt;
TypeScript: better tooling, cleaner code, and higher scalability&lt;br&gt;
Large community and ecosystem&lt;br&gt;
Powerful Router &lt;br&gt;
Disadvantages of Angular:&lt;/p&gt;

&lt;p&gt;Limited SEO options&lt;br&gt;
Steeper learning curve&lt;/p&gt;
&lt;h2&gt;
  
  
  What is ngOnInit? How to define it?
&lt;/h2&gt;

&lt;p&gt;A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the component/directive is instantiated.&lt;/p&gt;

&lt;p&gt;The ngOnInit() method is defined in a component class as below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class MyComponent implements OnInit {
  ngOnInit() {
    // some code
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What is ViewEncapsulation in Angular?
&lt;/h2&gt;

&lt;p&gt;View encapsulation defines whether the template and styles defined within the component can affect the whole application or vice versa&lt;/p&gt;

&lt;p&gt;The default ViewEncapsulation is Emulated, this view encapsulation emulates the behavior of shadow DOM by preprocessing (and renaming) the CSS code to effectively scope the CSS to the component's view. Angular adds the CSS to the global styles.&lt;/p&gt;

&lt;p&gt;Angular provides there types of View Encapsulation. They are as follows:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Emulated:&lt;/strong&gt;  Styles from main HTML propagate to the component. Styles defined in this component's @Component decorator are scoped to this component only.&lt;br&gt;
Native: Styles from main HTML do not propagate to the component. Styles defined in this &lt;br&gt;
None: Styles from the component propagate back to the main HTML and therefore are visible to all components on the page. Be careful with apps that have None and Native components in the application. All components with None encapsulation will have their styles duplicated in all components with Native encapsulation.&lt;/p&gt;

&lt;p&gt;Read Complete Articles Here:- &lt;/p&gt;

&lt;p&gt;Part 1 of this series :- &lt;a href="https://stacksjar.com/post/angular-interview-questions-part-1"&gt;Angular Interview Questions Part 1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Part 2 of this series :- &lt;a href="https://stacksjar.com/post/angular-interview-questions-part-2"&gt;Angular Interview Questions Part 2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Part 3 of this series :- &lt;a href="https://stacksjar.com/post/angular-interview-questions-part-3"&gt;Angular Interview Questions Part 3&lt;/a&gt;&lt;/p&gt;

</description>
      <category>angular</category>
      <category>programming</category>
      <category>typescript</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
