What is TDD?
Jan 28 2018- POSTED BY projecth
Test Driven Development TDD stands for Test Driven Development, where you write the test for what you’re building before you […]
Read MoreTest Driven Development TDD stands for Test Driven Development, where you write the test for what you’re building before you […]
Read MoreCache API If we want to be able to load the entire app without using the network, we need a […]
Read MoreThe following are steps to handling a request for a page. If requested page doesn’t exist, 404 response. If it […]
Read MoreWhat is fetch(url) ? Now instead of making our SW send simple responses, let’s go to the network for the […]
Read MoreSimple Response Once the SW is in control, it can hijack requests to servers and respond with anything you want. […]
Read MoreService Worker First Load The SW only takes control of pages when they’re loaded. Naturally, if your page had loaded […]
Read Moreindex.js For our app, index.js is the SW script, and it is located in \wittr\public\js\sw\index.js. Fetch event listener A fetch event controls requests […]
Read More1. Repo Setup Create New Repo Directory, then Initialize Repo mkdir <project-name> cd <project-name> $ git init Or, Clone Existing […]
Read MoreWhat is a Service Worker? Service Worker is simply a JavaScript file that sits between you and the network. It’s […]
Read More1. Install NodeJS You’ll need Node.js v0.12.7 or above. Check what version you have if you already have it node […]
Read MoreLie-fi It is an expression to describe a WiFi network that seems to to be available but won’t connect, or […]
Read MoreLoad Time Setup Have all of the site – or at least most of it – loaded within 2 […]
Read MoreMedia Queries In general, responsive design consists of fluid grids, fluid images, and media queries. Media queries are CSS rules […]
Read More:empty Targets elements with no child content. :only-child Targets elements with one child. :root Refers to the html element, but […]
Read MoreAesthetic Testing Color Contrast Desaturate a screenshot of the website interface on Photoshop, and look for color contrast problems in […]
Read Morerel Specifies the relationship between the current HTML document and the linked document. <link rel=”stylesheet” type=”text/css” href=”theme.css”> Example Values alternate, […]
Read MoreInstalling Sass You see, browsers don’t understand Sass syntax. So that syntax needs to be translated into plain CSS before […]
Read MoreFlexbox is a collection of CSS properties for adjusting page layout based on different screen sizes. 1. Flex Container […]
Read MoreA list must be homogeneous, its elements all should be from the same type. If an element in a […]
Read MoreBeing able to identify object classes and types is a really useful ability. isinstance(<object>, <class>) Tells you whether or not […]
Read More