Get Mystery Box with random crypto!

Learn JavaScript™

Logo of telegram channel javascript_js_learn — Learn JavaScript™ L
Logo of telegram channel javascript_js_learn — Learn JavaScript™
Channel address: @javascript_js_learn
Categories: Apps
Language: English
Subscribers: 4.30K
Description from channel

All info, tutorial, JS tips and more ....!
bio.link/javascript_js_
For HTML: @html_web_learn
For CSS: @CSS_web_learn
For JS: @JavaScript_js_learn
For PHP: @learn_php_web
For Programming courses @Programmingworld_dev
For CEH,Cybersec: @technical_stark

Ratings & Reviews

2.00

2 reviews

Reviews can be left only by registered users. All reviews are moderated by admins.

5 stars

0

4 stars

0

3 stars

0

2 stars

2

1 stars

0


The latest Messages 10

2022-05-28 17:11:30 4. When is classical inheritance an appropriate choice?

The answer is never, or almost never. Certainly never more than one level. Multi-level class hierarchies are an anti-pattern. I’ve been issuing this challenge for years, and the only answers I’ve ever heard fall into one of several common misconceptions. More frequently, the challenge is met with silence.

“If a feature is sometimes useful
and sometimes dangerous
and if there is a better option
then always use the better option.”

~ Douglas Crockford

Good to hear:

Rarely, almost never, or never.
A single level is sometimes OK, from a framework base-class such as React.Component.
Favor object composition over class inheritance.

#javascript #js
144 views14:11
Open / Comment
2022-05-28 17:11:18 3. What is the difference between classical inheritance and prototypal inheritance?
Class Inheritance: instances inherit from classes (like a blueprint — a description of the class), and create sub-class relationships: hierarchical class taxonomies. Instances are typically instantiated via constructor functions with the new keyword. Class inheritance may or may not use the class keyword from ES6.
Prototypal Inheritance: instances inherit directly from other objects. Instances are typically instantiated via factory functions or Object.create(). Instances may be composed from many different objects, allowing for easy selective inheritance.

In JavaScript, prototypal inheritance is simpler &
more flexible than class inheritance.


Good to hear:
Classes: create tight coupling or hierarchies/taxonomies.
Prototypes: mentions of concatenative inheritance, prototype delegation, functional inheritance, object composition.

Red Flags:
No preference for prototypal inheritance & composition over class inheritance.

#javascript #js
135 views14:11
Open / Comment
2022-05-28 17:11:01 2. What is functional programming?

Functional programming produces programs by composing mathematical functions and avoids shared state & mutable data. Lisp (specified in 1958) was among the first languages to support functional programming, and was heavily inspired by lambda calculus. Lisp and many Lisp family languages are still in common use today.

Functional programming is an essential concept in JavaScript (one of the two pillars of JavaScript). Several common functional utilities were added to JavaScript in ES5.

Good to hear:

Pure functions / function purity.
Avoid side-effects.
Simple function composition.
Examples of functional languages: Lisp, ML, Haskell, Erlang, Clojure, Elm, F Sharp, OCaml, etc…
Mention of features that support FP: first-class functions, higher order functions, functions as arguments/values.

Red flags:

No mention of pure functions / avoiding side-effects.
Unable to provide examples of functional programming languages.
Unable to identify the features of JavaScript that enable FP.

#javascript #js
132 views14:11
Open / Comment
2022-05-28 17:10:51 Top JavaScript interview questions.
What's good to hear in answer and what raises red flag:

1. Can you name two programming paradigms important for JavaScript app developers?

JavaScript is a multi-paradigm language, supporting imperative/procedural programming along with OOP (Object-Oriented Programming) and functional programming. JavaScript supports OOP with prototypal inheritance.

Good to hear:

Prototypal inheritance (also: prototypes, OLOO).
Functional programming (also: closures, first class functions, lambdas).

Red flags:

No clue what a paradigm is, no mention of prototypal oo or functional programming.

#javascript #js
139 views14:10
Open / Comment
2022-05-28 17:10:36 6) How to create a hyperlink in HTML?

The HTML provides an anchor tag to create a hyperlink that links one page to another page. These tags can appear in any of the following ways:

* Unvisited link - It is displayed, underlined and blue.
* Visited link - It is displayed, underlined and purple.
* Active link - It is displayed, underlined and red.


7) Which HTML tag is used to display the data in the tabular form?

The HTML table tag is used to display data in tabular form (row * column). It also manages the layout of the page, e.g., header section, navigation bar, body content, footer section.


8) What are some common lists that are used when designing a pag
e?

There are many common lists which are used to design a page. You can choose any or a combination of the following list types:

* Ordered list - The ordered list displays elements in numbered format. It is represented by
    tag.
    * Unordered list - The unordered list displays elements in bulleted format. It is represented by
      tag.
      * Definition list - The definition list displays elements in definition form like in dictionary. The
      ,
      and
      tags are used to define description list.


      9) What is the difference between HTML elements and tag
      s?

      HTML elements communicate to the browser to render text. When the elements are enclosed by brackets <>, they form HTML tags. Most of the time, tags come in a pair and surround content.


      10) What is semantic H
      TML?

      Semantic HTML is a coding style. It is the use of HTML markup to reinforce the semantics or meaning of the content. For example: In semantic HTML tag is not used for bold statement as well as tag is used for italic. Instead of these we use and tags.
      141 views14:10
      Open / Comment
2022-05-28 17:10:32 Simple HTML questions for beginners:

1) What is HTML
?

HTML stands for Hyper Text Markup Language. It is a language of World Wide Web. It is a standard text formatting language which is used to create and display pages on the Web. It makes the text more interactive and dynamic. It can turn text into images, tables, links.


2) What are Ta
gs?

HTML tags are composed of three things: an opening tag, content and ending tag. Some tags are unclosed tags.

HTML documents contain two things: content and tags

When a web browser reads an HTML document, the browser reads it from top to bottom and left to right. HTML tags are used to create HTML documents and render their properties. Each HTML tags have different properties.

content


3) Do all HTML tags have an end
tag?

No. There are some HTML tags that don't need a closing tag. For example: tag,
tag.


4) What is formatting i
n HTML?

The HTML formatting is a process of format the text for a better look and feel. It uses different tags to make text bold, italicized, underlined.
More details.


5) How many types of heading does an HTM
L contain?

The HTML contains six types of headings which are defined with the

to

tags. Each type of heading tag displays different text size from another. So,

is the largest heading tag and

is the smallest one. For example:

Heading no. 1


Heading no. 2


Heading no. 3


Heading no. 4


Heading no. 5

Heading no. 6

More details.
170 views14:10
Open / Comment
2022-05-28 06:01:42 Win 10 Pro Key
WKFQP-N47CJ-9M3CW-CBDCP-Q3WXM
Q3CNW-D4Q4W-6XCT6-Y48R7-7QWXM
TKR6D-TN72T-QRPG9-K2FDF-3DBQB
FPB27-2CNM2-726P7-W38BJ-WB49M
191 views03:01
Open / Comment
2022-05-25 13:44:40 Using CSS Animation with JavaScript with exercises from Dcode





#dcode #css #animation‌‌
157 views10:44
Open / Comment
2022-05-25 13:44:38 A simple exercise to convert to a boolean value with JavaScript

https://www.freecodecamp.org/news/how-to-convert-value-to-boolean-javascript/

---

Some resources for learning Array manipulation functions in JavaScript

https://javascript.plainenglish.io/5-resources-for-javascript-array-methods-e25a77f8a940

---

#boolean #value #array‌‌
166 views10:44
Open / Comment
2022-05-25 13:44:37 Practice from Candi Dev on building a calculator app with React JS





—-

Practice from Web Dev Simplified on creating a Navigation Bar with React JS and accompanied by Routing





—-

#react #webdevsimplified #candDev #navbar #routing #calculator‌‌
157 views10:44
Open / Comment