Learn JavaScript
4.3K subscribers
459 photos
10 videos
132 files
3.02K links
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
Download Telegram
Learn JavaScript
Consider the following superheroMaker function. What gets logged ?

const superheroMaker = a => { return a instanceof Function ? a() : a; }; console.log(superheroMaker(() => 'Batman')); console.log(superheroMaker('Superman'));
When passing () => 'Batman' to superheroMaker, a is an instance of Function. Therefore, the function gets called, returning the string Batman. When passing 'Superman' to superheroMaker, a is not an instance of Function and therefore the string 'Superman' is just returned. Therefore, the output is both Batman and Superman.
A great list of amazing React UI libraries

1️⃣ Chakra UI

- Chakra UI is a simple, modular and accessible component library that gives you the building blocks you need to build your React applications.

https://t.co/b6OAIZfMi8

2️⃣ Material UI

- React components for faster and easier web development. Build your own design system, or start with Material Design.

https://t.co/weq6TLMxY5

3️⃣ Semantic UI

- UI components based off of the Semantic UI framework

https://t.co/bJTgtzzzpc

4️⃣ Elastic UI

- The Elastic UI framework (EUI) is a design library in use at Elastic to build internal products that need to share our aesthetics. It distributes UI React components and static assets for use in building web layouts.

https://t.co/uOCnNV5qx8

5️⃣ React Bootstrap

- Bootstrap rebuilt for React. Include Bootstrap components right in your JavaScript.

https://t.co/K515uoYYVq

6️⃣ Ant Design

- A design system for enterprise-level products. Create an efficient and enjoyable work experience.

https://t.co/2JCnTqsBgD

7️⃣ Elemental UI

- A UI Toolkit for React.js Websites and Apps

https://t.co/WJqxeZoOwf

8️⃣ Rebass

- React primitive UI components built with Styled System.

https://t.co/r3PoY2DAga

9️⃣ Story Book

- Storybook is an open source tool for developing UI components in isolation for React, Vue, Angular, and more. It makes building stunning UIs organized and efficient.

https://t.co/iPBjIbkJ8d

Follow @learn_JavaScript_js for more JavaScript content.

______________________________

Follow my other channels

For HTML : @learn_html_web

For CSS : @learn_CSS_web

For PHP : @learn_php_web

For Programming tutorials/Courses/Materials :

@Programmingworld_dev

For any quires you can ask in this group :

@devlopers_hub
Super useful 73 tips of JavaScript 🔥

🖇️ https://github.com/loverajoel/jstips

#Javascripttip
No-code personal website builder for developers

https://mytemplate.xyz/

Google fonts now for icons

https://t.co/W2bk3OGtFC

3D device mockups and animations generator

https://t.co/fP7CPe7LZ6

Build cross-platform Flutter mobile apps visually

https://t.co/9y0NB6FaBY

Cheatsheet for regular expressions

https://t.co/T9PDJFNU1e

Follow @learn_JavaScript_js for more JavaScript content.
Learn JavaScript pinned «No-code personal website builder for developers https://mytemplate.xyz/ Google fonts now for icons https://t.co/W2bk3OGtFC 3D device mockups and animations generator https://t.co/fP7CPe7LZ6 Build cross-platform Flutter mobile apps visually»
Learn JavaScript pinned «Hey! Welcome to the Devlopers Hub group. First of all, please read the rules: @devlopers_hub Want to learn JavaScript and conquer the world? Start here: Tutorials and Books - JavaScript For Cats is a dead simply introduction for new programmers. - MDN JavaScript…»
Learn JavaScript pinned «React is a JavaScript library for building user interfaces. Wes Bos Courses We highly recommend Wes Bos' React courses: - React For Beginners is a step-by-step training course to get you building real world React applications. - Fullstack Advanced React &…»
Learn JavaScript pinned «A great list of amazing React UI libraries 1️⃣ Chakra UI - Chakra UI is a simple, modular and accessible component library that gives you the building blocks you need to build your React applications. https://t.co/b6OAIZfMi8 2️⃣ Material UI - React…»
Useful chrome extensions for developers and designers

📌 Responsive Viewer
➣ Show multiple screens once, Responsive design tester

📌 Stylebot
➣ Change the appearance of the web instantly

📌 Site Palette
➣ Extract colors from any website
What gets logged in the following code?

let i = 0; const arr = new Array(5); arr.forEach(() => i++); console.log(i);
Anonymous Quiz
38%
5
21%
4
13%
1
29%
0
JavaScript Tip 💡

Avoid default exports.
You will get a way better developer experience, especially if you're using TypeScript.

If you're using CommonJS, you can spare yourself the annoying "
.default" when you require.

It's a great coding habit ✌️


#javascripttip
Learn JavaScript
What gets logged in the following code?

let i = 0; const arr = new Array(5); arr.forEach(() => i++); console.log(i);
Array methods like map, filter, reduce, forEach, etc take a callback as the first parameter, which is executed for every element in the array. The Array constructor, when given an integer between 0 and (232 - 1), will return a sparse array, which has a length property equal to the given integer. The returned array is "sparse" because its slots are empty; it does not have any own-properties, other than .length. (In contrast, the array [undefined] does have an own-property of 0, even though the value at that property is undefined.)
The path 🛣️

- HTML
- CSS
- CSS framework
- JavaScript
- DS and A
- DOM
- Git and GitHub
- Front-end framework
- Database
- Node.js
- Express

The stops🚥

- Errors
- Back pain
- Frustration

The energy resources

- A short break
- Coffee
- Tea

The walker🚶‍♀️🚶‍♂️

- YOU 💪
💛 JavaScript tip 💛

One common issue when dealing with JSON de-/serialization is with date strings. You serialize a date but then deserialize a string. You simply lose type information.

Gladly, there is a fix for that, a reviver function, and here is how you use it!

#Javascripttip
5 GitHub repositories that can help you as a developer

1️⃣ Awesome Cheat Sheets

- Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.

https://t.co/J2aZ8WGVWz

2️⃣ 33 JavaScript Concepts

- 33 concepts every JavaScript developer should know.

https://t.co/F5KDOSaACD

3️⃣ Clean Code JavaScript

- Clean Code concepts adapted for JavaScript


https://t.co/wQXuiCWHW1

4️⃣ Design Resources For Developers


- Curated list of design and UI resources from stock photos, web templates, CSS frameworks, UI libraries, tools and much more. By traversymedia

https://t.co/82o5Eyhlji

5️⃣ FE Resources

- This repository contains content which will be helpful in your journey as a front-end Web Developer

https://t.co/symCDBhLDC

Follow @learn_JavaScript_js for more JavaScript content.
8 Free Wireframe & Prototyping tools:

🔸 Figma
🔸 Adobe XD
🔸 Wireframe .cc
🔸 FluidUI
🔸 Mockflow
🔸 Moqups
🔸 Cacoo
🔸 Jumpchart
7 great websites a developer should visit

1. Algorithms Visualizer

- You can visualize how different algorithms works

https://t.co/Ku6CI9pBk6

2. Edabit

- Basically this site is for beginner who wants to learn code. Learn to code with fun, bite-sized challenges

https://t.co/ktvcSRBijB

3. Learn command line

- Command line has always been an important thing for programmers or developers. This is a free ebook for mastering CLI

https://t.co/FT7svR77jQ

4. Code share

- Share Code in Real-time with Developers
An online code editor for interviews, troubleshooting, teaching & more…

https://t.co/CFLRkvbrOh

5. Diagrams maker

- diagrams .net is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams

https://t.co/6W5Oib9WpV

6. Vim Adventures

- Vim is a most confusing editor for programmers. But not to worry now. Learn VIM by playing game

https://t.co/r6U6v8G88w

7. Can I use

- A website that provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.

https://t.co/TNqlk3OUXR

Follow @learn_JavaScript_js for more JavaScript content.
A great website for JavaScript developers

Here you will find a huge list of learning resources in the form of

- Books
- Websites
- Courses
- Videos
- Interview
- Code challenges
- And much more...

https://t.co/2gdB6LdfQ8
TypeScript Tip 💡

Use the utility type 'Record' to make an object indexable, instead of typing it out manually.

It's more clean, and becomes handy if you want to map the properties of one type to another.


#Typescripttip
40+ JavaScript Projects For Your Portfolio [With Video links!]

In the front-end space, a lot of frameworks exist: React, Angular, Vue, just to name a few. Every single one of them is awesome and without them, front-end development wouldn’t be in its current state. But what those frameworks, besides all their differences, have in common is that they are all based on JavaScript. Yep, good ol’ JS!

JavaScript is what runs the web today, no doubt. And for every  front-end developer, no matter if already experienced or at the start of their careers, it’s mandatory to know the basics of JavaScript, HTML, and CSS.

Frameworks come and go, but JavaScript will stay! But what's the best way to practice JavaScript? The best answer I can give you is to build projects!

JavaScript Projects

JavaScript projects are guided tutorials or javascript project ideas that help you sharpen your skills by building real applications, websites, games, components, etc.

Sometimes you will find project ideas that just contain a title and a few sentences of what you should build.

Example: Build a counter with JavaScript that counts down the hours till the end of the year.

This format is good if you already have some experience and are just looking for some input.


JavaScript Projects for Beginners

However, if you are new to web development, it's often better if you look for JavaScript project examples with source code or specific JavaScript projects for beginners.

These often contain a running demo application, a GitHub repository with the source code, and a step-by-step guide on how to build the project.

JavaScript Practice Projects

So for you to gain practice, I have listed nine awesome javascript project ideas that you can do to refresh your skills, learn new things about JS, and stay relevant in the future. All of them are based on pure JavaScript, some HTML, and some CSS. You can add them to your portfolio, show them to recruiters or potential employers, or keep them in your GitHub as references for future work. To be clear: This is not meant to teach you everything about JavaScript. There are perfect courses for you covering JS from A-Z. This is for building things. Getting your hands dirty. Working on your muscle memory.

JavaScript Projects Overview

Build a Meditation App JavaScript Project

Build a Virtual Keyboard JavaScript Project

Build an eCommerce Shopping Cart JavaScript Project

Build a Weather App JavaScript Project

Build an Issue Tracker JavaScript Project

Build a PIN Pad JavaScript Project

Build a Landing Page JavaScript Project

Build a Rock Paper Scissors Game JavaScript Project

Build a Tic Tac Toe Game JavaScript Project

Bonus: Build 9-in-1 Mini JavaScript Projects

Bonus: JavaScript Beginner Project Ideas

Bonus: JavaScript Intermediate Project Ideas

Bonus: JavaScript Advanced Project Ideas

To give you a headstart, . I had listed these projects might be helpful for a kickstart to JS in my opinion, so I highly recommend that you try them out for yourself because you know how to learn best and on what level you currently are.

1. Build a Meditation App JavaScript Project

Link:

https://youtu.be/oMBXdZzYqEk

What you will build

You are going to build an application that provides ambient sound for meditation. Users can choose between different timers and sounds.

2. Build a Virtual Keyboard JavaScript Project

Link:

https://youtu.be/N3cq0BHDMOY

What you will build

You are going to build a virtual keyboard from scratch with Vanilla JS, HTML, and CSS that can be used in the browser and will be responsive and touch-ready!

3. Build an eCommerce Shopping Cart JavaScript Project

Link:
https://youtu.be/90PgFUPIybY

What you will build

You are going to build a shopping cart that can be used on online shops and eCommerce sites with Vanilla JS, HTML, and CSS. The instructor makes use of Contentful, which is a headless CMS for storing product information.