#FoodForThought
Food for Thought
Following is the code to alert max number in an array. Can you think of a way to get the result without using loops ? Explore it yourself...
var numbers = [4,76,455,56,90,22];
var max = 0;
for(i=0;i<numbers.length;i++){
if(numbers[i]>max){
max = numbers[i];
}
}
alert("Maximum Number : "+max);
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Food for Thought
Following is the code to alert max number in an array. Can you think of a way to get the result without using loops ? Explore it yourself...
var numbers = [4,76,455,56,90,22];
var max = 0;
for(i=0;i<numbers.length;i++){
if(numbers[i]>max){
max = numbers[i];
}
}
alert("Maximum Number : "+max);
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
#Animation
Border Animation for Text Box by Azouaoui Mohamed
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
https://twitter.com/CodePen/status/1010224420110176256
Border Animation for Text Box by Azouaoui Mohamed
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
https://twitter.com/CodePen/status/1010224420110176256
Twitter
CodePen.IO
Border Animation Text Box" by azouaoui mohamed https://t.co/Swyki0CJhn https://t.co/CZADPzwrtT
#Events: Month of WebXR
This is a four-week hands on workshop on
* Creating VR/AR applications using A-Frame and AR.js
* Creating 3D art using Blender and Krita
What do you need to bring :
* Make sure you are getting a *Laptop* (BYOD)
* A mouse with middle click scroll/button (necessary to do Blender)
Schedule :
The entire series will run in two parallel tracks of Art & Tech.
Art Track :
We use open source software Blender & Krita to learn about creating 3D art. At the end of the workshop you will have an understanding of what goes into creating 3D models for your applications.
Tech Track :
We use open source frameworks threejs, Aframe and Ar.js to learn about creating applications. Our goal is to make you confident enough to explore and create a web application using the 3D model you have created in the art track.
RSVP here in Meetup:
http://meetu.ps/e/Fwfsz/yTfmH/d
Also Register here :
https://docs.google.com/forms/d/e/1FAIpQLSdta-pGMbDVrZkcLRgxGryjrfLmZdKxD-P4-z1DyBbb6G9jUw/viewform
This is a four-week hands on workshop on
* Creating VR/AR applications using A-Frame and AR.js
* Creating 3D art using Blender and Krita
What do you need to bring :
* Make sure you are getting a *Laptop* (BYOD)
* A mouse with middle click scroll/button (necessary to do Blender)
Schedule :
The entire series will run in two parallel tracks of Art & Tech.
Art Track :
We use open source software Blender & Krita to learn about creating 3D art. At the end of the workshop you will have an understanding of what goes into creating 3D models for your applications.
Tech Track :
We use open source frameworks threejs, Aframe and Ar.js to learn about creating applications. Our goal is to make you confident enough to explore and create a web application using the 3D model you have created in the art track.
RSVP here in Meetup:
http://meetu.ps/e/Fwfsz/yTfmH/d
Also Register here :
https://docs.google.com/forms/d/e/1FAIpQLSdta-pGMbDVrZkcLRgxGryjrfLmZdKxD-P4-z1DyBbb6G9jUw/viewform
Meetup
Month of WebXR : A 4 week workshop on creating VR and AR applications
Sun, Jul 8, 2018, 10:00 AM: Who are you :You are a developer with knowledge in JavaScript, basic idea about 3D and excited about building applications in VR, AR and MR.Who are we :We are a team of vol
Source: https://medium.com/@js_tut/javascript-operator-precedence-and-associativity-table-71ee154079c
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
👍1
Did you know that JavaScript was created in 10 days?
In May 1995, Brendan Eich wrote the first version of JavaScript in 10 days while working at Netscape.
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
In May 1995, Brendan Eich wrote the first version of JavaScript in 10 days while working at Netscape.
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Pushbar.js
Pushbar.js is a tiny javascript plugin for creating sliding drawers in web apps
It is fully customizable and dependency free.You can use it as sidebar menus or option drawers.
Get it: https://github.com/oncebot/pushbar.js
Explore: https://oncebot.github.io/pushbar.js/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Pushbar.js is a tiny javascript plugin for creating sliding drawers in web apps
It is fully customizable and dependency free.You can use it as sidebar menus or option drawers.
Get it: https://github.com/oncebot/pushbar.js
Explore: https://oncebot.github.io/pushbar.js/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
GitHub
GitHub - oncebot/pushbar.js: Tiny javascript plugin for creating sliding drawers in web apps
Tiny javascript plugin for creating sliding drawers in web apps - oncebot/pushbar.js
Natural Language Processing with NoSQL and JavaScript
In this article we'll see how to apply sentiment analysis on film (movie) reviews. Sentiment analysis means, that, based on an unknown review, an algorithm can decide whether a newly added review is positive (i.e. the review liked the film) or negative (i.e. the reviewer did not like the film).
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
https://fullstack-developer.academy/natural-language-processing-with-nosql-and-javascript/
In this article we'll see how to apply sentiment analysis on film (movie) reviews. Sentiment analysis means, that, based on an unknown review, an algorithm can decide whether a newly added review is positive (i.e. the review liked the film) or negative (i.e. the reviewer did not like the film).
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
https://fullstack-developer.academy/natural-language-processing-with-nosql-and-javascript/
Make Your PWA Work Offline Part 1:—Static Files
Creating a basic SW file to store static resources in the browser cache is only the first step of adding offline support to your application. You can extend this solution by introducing new features or modifying existing ones.
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
https://www.monterail.com/blog/pwa-working-offline
Creating a basic SW file to store static resources in the browser cache is only the first step of adding offline support to your application. You can extend this solution by introducing new features or modifying existing ones.
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
https://www.monterail.com/blog/pwa-working-offline
Monterail
Make Your PWA Work Offline Part 1—Static Files Guide | Monterail
Progressive Web App (PWA) working offline is one of the best features out there. Learn how to store static files both on Android and iOS. Let's go offline!
Pug.js to make your life easier with HTML templates
Pug.js is a HTML templating engine, which means you can write much simpler Pug code, which Pug compiler will compile into HTML code, that browser can understand. But why not write HTML code in the first place?
Pug has powerful features like conditions, loops, includes, mixins using which we can render HTML code based on user input or reference data. Pug also support JavaScript natively, hence using JavaScript expressions, we can format HTML code.
An application of that would be Email Templates to send email customized to particular user.
https://itnext.io/pug-js-to-make-your-life-easier-with-html-templates-9c62273626e0
See more here:
https://pugjs.org/api/getting-started.html
Fork it from:
https://github.com/pugjs/pug
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Pug.js is a HTML templating engine, which means you can write much simpler Pug code, which Pug compiler will compile into HTML code, that browser can understand. But why not write HTML code in the first place?
Pug has powerful features like conditions, loops, includes, mixins using which we can render HTML code based on user input or reference data. Pug also support JavaScript natively, hence using JavaScript expressions, we can format HTML code.
An application of that would be Email Templates to send email customized to particular user.
https://itnext.io/pug-js-to-make-your-life-easier-with-html-templates-9c62273626e0
See more here:
https://pugjs.org/api/getting-started.html
Fork it from:
https://github.com/pugjs/pug
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Medium
Pug.js to make your life easier with HTML templates
Pug.js is a HTML templating engine, which means you can write much simpler Pug code, which Pug compiler will compile into HTML code, that…
Creating a Markdown editor/previewer in Electron and Vue.js
To explore Electron, we will build a Markdown editor with live preview of generated HTML, using an HTML template of your choice. The UI will be built with a combination of Vue.js, Bulma/Buefy, and the ACE editor component.
Vue.js is a framework for implementing components that run in the web browser. Vue.js applications are built using these components and in theory one could build the UI entirely with Vue.js plus custom-developed CSS and JavaScript. But, again, there are several open source projects offering prebaked UI components with responsive web best practices built-in.
https://blog.sourcerer.io/creating-a-markdown-editor-previewer-in-electron-and-vue-js-32a084e7b8fe
Fork the code:
https://github.com/sourcerer-io/electron-vue-buefy-editor
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
To explore Electron, we will build a Markdown editor with live preview of generated HTML, using an HTML template of your choice. The UI will be built with a combination of Vue.js, Bulma/Buefy, and the ACE editor component.
Vue.js is a framework for implementing components that run in the web browser. Vue.js applications are built using these components and in theory one could build the UI entirely with Vue.js plus custom-developed CSS and JavaScript. But, again, there are several open source projects offering prebaked UI components with responsive web best practices built-in.
https://blog.sourcerer.io/creating-a-markdown-editor-previewer-in-electron-and-vue-js-32a084e7b8fe
Fork the code:
https://github.com/sourcerer-io/electron-vue-buefy-editor
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Medium
Creating a Markdown editor/previewer in Electron and Vue.js
Writing desktop applications with Electron is by far the easiest and most enjoyable GUI application toolkit I’ve used over my career…
👍1
localForage: Offline Storage, Improved - (Wraps IndexedDB, WebSQL, or localStorage using a simple API.)
https://github.com/localForage/localForage
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
https://github.com/localForage/localForage
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
GitHub
GitHub - localForage/localForage: 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful…
💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API. - localForage/localForage
fullPage.js
A simple and easy to use library to create fullscreen scrolling websites (also known as single page websites or onepage sites). It allows the creation of fullscreen scrolling websites, as well as adding some landscape sliders inside the sections of the site.
A perfect plugin for web slides...
https://alvarotrigo.com/fullPage/
Fork it here: https://github.com/alvarotrigo/fullPage.js/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
A simple and easy to use library to create fullscreen scrolling websites (also known as single page websites or onepage sites). It allows the creation of fullscreen scrolling websites, as well as adding some landscape sliders inside the sections of the site.
A perfect plugin for web slides...
https://alvarotrigo.com/fullPage/
Fork it here: https://github.com/alvarotrigo/fullPage.js/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Alvarotrigo
fullPage.js
Great Javascript library to create fullscreen scrolling websites
Looking for inspiration to work on VueJS?
Here is a showcase site you would like to watch and tinker with...
https://madewithvuejs.com/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Here is a showcase site you would like to watch and tinker with...
https://madewithvuejs.com/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Madewithvuejs
Vue.js Showcase - Made With Vue.js
A collection of projects made with Vue.js – Websites, UI Components, Frameworks, Apps and more!
Building a Hangman Game with Vue.js
Working on a project that you are motivated to build is one of the most effective ways to learn how to code. This is a fun little project to learn about Vue.js, HTML and CSS.
To build the Hangman game, we will explore a few of Vue’s core features:
* Declarative Rendering and Template Syntax.
* List Rendering.
* Event Handling and Methods.
* Conditional Rendering.
https://www.30platforms.com/post/building-a-hangman-game-with-vue-js/
Video Tutorial: https://www.youtube.com/watch?v=y4yf5DRJI6k
Tinker with this code:
https://github.com/30platforms/vue-hangman-game
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Working on a project that you are motivated to build is one of the most effective ways to learn how to code. This is a fun little project to learn about Vue.js, HTML and CSS.
To build the Hangman game, we will explore a few of Vue’s core features:
* Declarative Rendering and Template Syntax.
* List Rendering.
* Event Handling and Methods.
* Conditional Rendering.
https://www.30platforms.com/post/building-a-hangman-game-with-vue-js/
Video Tutorial: https://www.youtube.com/watch?v=y4yf5DRJI6k
Tinker with this code:
https://github.com/30platforms/vue-hangman-game
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
30 PLATFORMS
Building a Hangman Game with Vue.js { 30 PLATFORMS }
Working on a project that you are motivated to build is one of the most effective ways to learn how to code. This is a fun little project to learn about Vue.js, HTML and CSS. Click New Game above to try the finished product.
Introduction to Vue.js Vue.js…
Introduction to Vue.js Vue.js…
DraxtJS
Draxt is a utility module for selecting and manipulating filesystem objects in a Node.js environment. It uses glob patterns as its "selector engine". draxt also provides several DOM-like interfaces representing filesystem objects which build on promisified APIs for the fs and fs-extra modules.
Fork it here:
https://github.com/ramhejazi/draxt
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Draxt is a utility module for selecting and manipulating filesystem objects in a Node.js environment. It uses glob patterns as its "selector engine". draxt also provides several DOM-like interfaces representing filesystem objects which build on promisified APIs for the fs and fs-extra modules.
Fork it here:
https://github.com/ramhejazi/draxt
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
GitHub
GitHub - ramhejazi/draxt: draxt.js – NodeList/jQuery-like package for File System (node.js)
draxt.js – NodeList/jQuery-like package for File System (node.js) - GitHub - ramhejazi/draxt: draxt.js – NodeList/jQuery-like package for File System (node.js)
Want to create Duotone effect on Images ?
Explore this design tool to easily create and generate Duotone images.
https://cssduotone.com/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Explore this design tool to easily create and generate Duotone images.
https://cssduotone.com/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Cssduotone
CSS Duotone Generator
Create CSS Duotones quickly for free
AJAX
Asynchronous JavaScript + XML, while not a technology in itself, is a term coined in 2005 by Jesse James Garrett, that describes a "new" approach to using a number of existing technologies together, including HTML or XHTML, Cascading Style Sheets, JavaScript, The Document Object Model, XML, XSLT, and most importantly the XMLHttpRequest object.
https://developer.mozilla.org/en-US/docs/Web/Guide/AJAX
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Asynchronous JavaScript + XML, while not a technology in itself, is a term coined in 2005 by Jesse James Garrett, that describes a "new" approach to using a number of existing technologies together, including HTML or XHTML, Cascading Style Sheets, JavaScript, The Document Object Model, XML, XSLT, and most importantly the XMLHttpRequest object.
https://developer.mozilla.org/en-US/docs/Web/Guide/AJAX
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
MDN Web Docs
Making network requests with JavaScript - Learn web development | MDN
Another very common task in modern websites and applications is making network requests to retrieve individual data items from the server to update sections of a webpage without having to load an entire new page. This seemingly small detail has had a huge…
Uploading Files with AJAX
The ability to communicate with a web server without reloading the page has revolutionised how web applications are built. The primary technology that enables AJAX (XMLHttpRequests) has evolved significantly since the initial conception of dynamic websites.
A nice feature added to XMLHttpRequests in recent years is the ability to handle file uploads. Traditionally many developers have resorted to using technologies like Flash to upload files to a server. The problem with this approach is that the user needs to have a third-party browser plugin installed.
In this post you’ll learn how to upload files to a server using native JavaScript technologies. The example we’re going to use supports uploading multiple files in a single request. However, you can apply the same principles to single-file uploads too.
http://blog.teamtreehouse.com/uploading-files-ajax
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
The ability to communicate with a web server without reloading the page has revolutionised how web applications are built. The primary technology that enables AJAX (XMLHttpRequests) has evolved significantly since the initial conception of dynamic websites.
A nice feature added to XMLHttpRequests in recent years is the ability to handle file uploads. Traditionally many developers have resorted to using technologies like Flash to upload files to a server. The problem with this approach is that the user needs to have a third-party browser plugin installed.
In this post you’ll learn how to upload files to a server using native JavaScript technologies. The example we’re going to use supports uploading multiple files in a single request. However, you can apply the same principles to single-file uploads too.
http://blog.teamtreehouse.com/uploading-files-ajax
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
Treehouse Blog
Uploading Files with AJAX [Article] | Treehouse Blog
In this post you'll learn how to upload files to a web server using AJAX.
A basic tutorial for HTML & CSS
HTML & CSS Is Hard to be the only introduction to HTML and CSS that you’ll ever need. If you put in the effort to read every section and write every code snippet, this tutorial has the potential to replace hundreds or even thousand of dollars worth of online courses and live training.
Our goal is to make it as easy as possible for complete beginners to become professional web developers, so if you’ve never written a line of HTML or CSS, but you’re contemplating an expertise, grab a cup of coffee, take a seat, and let’s get to work.
https://internetingishard.com/html-and-css/introduction/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
HTML & CSS Is Hard to be the only introduction to HTML and CSS that you’ll ever need. If you put in the effort to read every section and write every code snippet, this tutorial has the potential to replace hundreds or even thousand of dollars worth of online courses and live training.
Our goal is to make it as easy as possible for complete beginners to become professional web developers, so if you’ve never written a line of HTML or CSS, but you’re contemplating an expertise, grab a cup of coffee, take a seat, and let’s get to work.
https://internetingishard.com/html-and-css/introduction/
Join @javascriptdaily for more updates of Daily JavaScript / JS community news, links and events.
This media is not supported in your browser
VIEW IN TELEGRAM
An experiment by https://twitter.com/cassidoo using HAML Loops.
https://codepen.io/cassidoo/pen/MBELdq
Join @javascriptdaily for more updates of JavaScript / JS community news, links and events.
https://codepen.io/cassidoo/pen/MBELdq
Join @javascriptdaily for more updates of JavaScript / JS community news, links and events.