Software Programming

Kunuk Nykjaer

Archive for the ‘Javascript’ Category

React ES6 getting Started – slides

with one comment

I made a slide about React ES6 getting started, you can view it here

https://doсs.google.com/presentation/d/19YgTFjvgsuTIfC7NdX8QXyf43U4LKjf8xZM2342_sO8/

Written by kunuk Nykjaer

August 22, 2016 at 10:06 am

Posted in Development, Javascript

Tagged with

Motion Design – slides

leave a comment »

I made a slide about Motion Design – you can view it here

https://doсs.google.com/presentation/d/1xycVCpGnVgz1VAnO0iaXDP7bc8K8bfl3JXZLiDvkDws/

Written by kunuk Nykjaer

August 22, 2016 at 10:03 am

Posted in Css, Design, Javascript

Tagged with

Favorite material design button with or without JS

leave a comment »

I am having fun creating things at Codepen.io.

I have created a toggle button with JS and without using JS.
For the non-JS version I used the radio-button hack technique with stacked radio buttons.

Without JS

 

With JS

Written by kunuk Nykjaer

March 10, 2016 at 4:57 pm

Posted in Css, Javascript, Visualization

Tagged with

Fizz Buzz

leave a comment »

Written by kunuk Nykjaer

March 2, 2015 at 12:23 am

Posted in Javascript

Tagged with

Browser only CMS

with 2 comments

This is an idea for a very minimalistic CMS solution.

You only need a browser to run the CMS solution. No web-server or DB are needed to host your CMS solution.

The content is separated to a resource folder (the content folder).
Text resources are stored inside a JavaScript file and not on a markup (html) page.

Here’s a snippet example of multiline text in markdown format stored in the resource file.

app-data.js

 Site.data = {
        multiline: function() {
            /*!
# browser only cms

**Dependencies:** 
any modern browser and your favorite text editor.

Open the index.html with your browser.

  * Your browser is the server
  * Your CMS is the content folder
  * Your CMS editor is your favorite text-editor.

To edit the content open the 
`content/text/app-data.js` file 
and refresh your browser to see the update.
            !*/
        }.parseMarkdown()
}


 

Browser only CMS is available at https://github.com/kunukn/browser-only-cms

Written by kunuk Nykjaer

February 24, 2015 at 10:52 pm

Posted in Development, Javascript

Tagged with ,