Friday, June 29, 2018

10 Best iOS App Templates for Business

Measuring the ROI of Social Media (infographic)

Today’s marketers know that a solid social media strategy is key to a brand’s success—but precisely how to measure the ROI remains unclear. While many businesses are investing in social media, it’s difficult to figure out if it’s working. Many marketers zero in on Facebook shares or Twitter...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Irfan Ahmad via Digital Information World

Bendy Drinks Menu – Drink/Restaurant Menu with Cool Animation

A tutorial about creating drinks - restaurant menu with super cool animation using CSS and JavaScript.


by via jQuery-Plugins.net RSS Feed

Optimization Auditing: A Deep Dive into Chrome’s Dev Console

Chrome DevTools incorporates many sub-tools for debugging web applications on the client side --- like recording performance profiles and inspecting animations --- most of which you've likely been using since your early days of learning web development, mostly through the DevTools console.

Let's look at some of those tools, focusing particularly on the console and the performance metrics.

To access Chrome's DevTools:

  • right click anywhere on a page, click Inspect from the context menu
  • use the keyboard shortcuts Ctrl + Shift + I on Windows and Linux systems or Alt + Command + I on macOS
  • use the keyboard shortcuts Ctrl + Shift + J on Windows and Linux systems or Alt + Command + J on macOS.

The Snippets Tool

If you're frequently writing JavaScript code right in the console, make sure to use the Snippets feature of DevTools instead, which is similar to a code editor and provides mechanisms to write JavaScript code snippets, run them in the context of the current page and save them for later. It's better than writing multi-line JavaScript code directly in the console.

You can access the Snippets tool from the Sources panel. Once open, the console gets stacked below (if it doesn't, just press Escape) so you can write, run your code and see the console output at the same time.

Snippets tool

Using the Chrome DevTools Console

You can use the console to interact with any web page using JavaScript. You can query and change the DOM and query/output different types of performance information.

The console can be opened either as a full-screen dedicated panel or as a drawer next to any other DevTools panel by pressing Escape while DevTools is open and has focus.

Accessing and docking the console

When working with the browser's console, if you want to enter multi-line expressions you need to use Shift + Enter, because just Enter will execute what's in the input line at that moment.

The console history

You can clear the console history in different ways:

  • by typing clear() in the console
  • by calling console.clear() method in the console or JavaScript code
  • by clicking on the red circle in the top left corner of the console
  • by pressing CTRL+L in macOS, Windows and Linux
  • by right-clicking in the Console and then pressing Clear console.

Clear history

You can preserve the log (by enabling the Preserve log checkbox) between page refreshes or changes until you clear the console or close the tab.

Preserving the log

You can save the history in the Console as a text file by right-clicking in the console and selecting Save as…, then choosing the location of a log file.

Save history

Console variables

The variables you create in the Console are persisted until you do a page refresh, so pay attention to when you're using keywords such as let or const when declaring variables. Running the same code or function for the second time will throw an Uncaught SyntaxError, saying that the identifier has already been declared. You can either use the OR (||) operator to check if the variable is already defined or you can use var to declare variables, since it doesn't complain for previously declared variables.

The post Optimization Auditing: A Deep Dive into Chrome’s Dev Console appeared first on SitePoint.


by Ahmed Bouchefra via SitePoint

Browny

‘Browny’ is a free CV-style One Page HTML template built on the Bootstrap Framework. The long-scrolling resume template features a fixed header navigation that smooth scrolls to sections, and intro biography, skills graph, work history timeline, a simple portfolio section that needs to link out, client logos and ends with a contact form. Thanks for another generous freebie ThemeSINE!


by Rob Hope @robhope via One Page Love

ES2018 spec published, and writing better JavaScript by linting

#392 — June 29, 2018

Read on the Web

JavaScript Weekly

▶  Write Perfect Code with Standard and ESLint — An intro to getting started with linting (and why - hint: to catch errors in your code) as well as how to improve your setup if you’re already doing it.

Feross Aboukhadijeh

ECMAScript 2018 Language Spec Published — The official spec for ES2018 (essentially the 9th edition of the JS spec) has been published in HTML and PDF if you’re lacking for bedtime reading (it’s a significant document but, yes, it’s a long, dry spec).

ECMA

Plan Visually with a Single Glance and Make Sure Your Projects Get Done — monday.com is a project management tool your team will enjoy using. It makes it fun and easy for everyone to collaborate, focus and get more done. It's a visual project management tool that’ll help you and your team collaborate and achieve more.

monday.com sponsor

On Consuming (and Publishing) ES2015+ Packages — Babel’s creator reflects on the idea of compiling dependencies (in addition to your own code), how Babel v7 will make it easier to do so, and the problems involved.

Henry Zhu (Babel)

Exploring ES2018 with Dr. Axel — If the ES2018 news above interested you but you want a more accessible way to understand the new features, Dr. Axel’s book here is great. Or if you’d prefer a short, snappy post with quick examples, try this for size.

Dr. Axel Rauschmayer

JavaScript Usage by Industry — Over 16,000 developers took npm Inc’s JavaScript Ecosystem Survey last year and in this post we see how industries differ in their use of JavaScript, its tools, techniques, and ecosystem generally.

Laurie Voss (npm, Inc)

Using face-api.js: Face Recognition in the Browser with TensorFlow.js — A library bringing face detection, recognition and landmark detection to the browser.

Vincent Mühler

An Official Way to Track ECMAScript Proposals — A frequently updated table of the proposals for future JavaScript features along with their progress. There’s also a useful guide to how the TC39 process works if you’re interested.

TC39

💻 Jobs

Remote Front End Developer (React) — Join us, work remotely from North America, and help build software that matters.

Aha!

React Developer in London Looking for a Job? — Join our team in London to create the future of payments using the latest technology in Front End. Read more here.

Divido

Find A Job Through Vettery — Vettery matches top tech talent with fast-growing companies. Take a few minutes to join our platform.

Vettery

📘 Tutorials and Opinions

▶  Asynchrony: Under the Hood — Filmed at the recent JSConf EU, this talk deftly explores the conceptual underpinnings of asynchronous programming approaches, and the drawbacks and advantages of each.

Shelley Vohr

A Practical Intro to Worker Threads in Node 10.5 — Node can now work with multiple threads, in a sense.

Fernando Doglio

New Ways to Build on Slack — Use Slack? Now you can build an app that turns Slack messages into tasks, to-dos, follow-ups, and more with your team’s tools. See how.

Slack sponsor

Headless User Interface Components — Headless user interface components separate the logic and behavior of a component from its visual representation.

Merrick Christensen

Does It Mutate? Which Array Methods Mutate Or Not

Remy Sharp

A Guide to Node.js for Frontend Developers — If you’re a frontend developer who ends up getting into Node.js, we have a Node newsletter too :-)

Seva Zaikov

Doing Vue After Three Years with React“I want to share my experience of dealing with Vue after being a devoted React developer for a few years.”

Anya Pavlova

▶  Architectures for Huge Angular-Based Enterprise Apps

Manfred Steyer

Your Free Pass to Better JavaScript Skills — You can learn a lot in 10 days—start a free trial and get unlimited access to expert-led dev courses and more.

Pluralsight sponsor

▶  Deep Learning in JavaScript — Top comment: “the clearest and most colloquial introductory explanation of ML ever, with super fun”

Ashi Krishnan

🔧 Code and Tools

lit-html: Syntax Highlighting in VS Code for HTML Inside of JavaScript

Matt Bierner

Docz: A Modern Documentation Site Publishing System — Zero-config, powered by Webpack 4 and a Markdown + JSX templating format.

Pedro Nauck

MongoDB 4.0 Is Now Generally Available. Try It Now on MongoDB Atlas

MONGODB sponsor

Gio.js: Three.js 3D Globe Data Visualization Library — There’s also a quick start tutorial.

Numerous Contributors

Vuetify: A Material Design Component Framework for Vue

John Leider

Superfine: A Minimal View Layer for Creating Declarative Web Interfaces

Jorge Bucaran


by via JavaScript Weekly

Yo! #020 – Dribbble’s new Hiring Platform, Free Instagram Stories Kit, Better Lorem Ipsum

 

Yo! is my weekly YouTube show covering the latest design and development news. Each story mentioned is also blogged on the Yo! webiste but if you want them emailed to you each week, simply join the dedicated Yo! newsletter💌

Full Review | Direct Link


by Rob Hope @robhope via One Page Love