Shineyrock web design & consultancy

Shineyrock

Gezocht op: "html" / 740 gevonden

How to Create an Audio Oscillator With the Web Audio API

…is really fun for anyone interested in audio of any kind, and I encourage you to go deeper. I've also collected some really fun examples from CodePen that use the Web Audio API to build some really interesting examples. Enjoy! https://codepen.io/collection/XLYyWN https://codepen.io/collection/nNqdoR https://codepen.io/collection/XkNgkE https://codepen.io/collection/ArxwaW References http://webaudioapi.com https://webaudio.github.io/web-audio-api http://chimera.labs.oreilly.com/books/1234000001552/ch01. html


Using Luxon for Date and Time in JavaScript

…html file to add the LuxdateComponent.<body> <app-luxdate></app-luxdate> </body>Save the above changes and start the server.npm startYou will have the application running at http://localhost:4200/.Let's import the Luxon library into your application.npm install --save luxonOnce you have Luxon installed in the Angular application, import it in the LuxdateComponent component. Now you are…


Persisted WordPress Admin Notices: Part 1

…HTML which will be displayed inside the admin notice.The example above shows admin notices on all admin pages, which isn't always ideal, so in part two we'll look at how you can control exactly what pages they appear on.There is another built-in CSS class you can add to div.notice that…


Persisted WordPress Admin Notices: Part 2

…In part one of this series, we learned how to implement a basic admin notice that appears at the top of every WordPress admin page. In this tutorial, we'll start to build out a plugin to contain all our custom admin notice code.We'll begin by implementing standard admin notices and…


How Laravel Broadcasting Works

…html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>Test</title> <!-- Styles --> <link href="{{ asset('css/app.css') }}" rel="stylesheet"> </head> <body> <div id="app"> <nav class="navbar navbar-default navbar-static-top"> <div class="container"> <div class="navbar-header"> <!-- Collapsed Hamburger --> <button…


Creating Your First Angular App: Components, Part 1

…html. The home.component.ts file will contain all the logic for the component, and the CSS and HTML files will control the appearance and structure of the component.Let's start by editing the home.component.ts file. The HomeComponent is supposed to show the top three most populated countries, the three largest countries, and…


Creating Your First Angular App: Components, Part 2

…html, and all-countries.component.css. The component logic like getting the list of countries and initializing the component itself will go inside the .ts file. The .html file will store the template for the component, and the .css file will store different CSS rules to style the template.Here is the code for…


Creating Your First Angular App: Implement Routing

…html, and home.component.css. The home.component.ts file contained the definition of the HomeComponent class with different methods and properties to access and store information about all countries. The methods inside the HomeComponent class relied on the methods defined in country.service.ts to get all the data. The home.component.html file is used to…


Creating a Blogging App Using Angular & MongoDB: Login

…html and add the following HTML code:<h3> Root Component </h3>Add a file called root.component.ts and add the following code:import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './root.component.html' }) export class RootComponent { } Remove the files app.component.html, app.component.ts, app.component.scss, and app.component.spec.ts. You will have only one file called…


Phoenix I18n

…html.eex file which acts as a default starting page. Remove everything except for this code:<div class="jumbotron"> <h2><%= gettext "Welcome to %{name}!", name: "Phoenix" %></h2> </div>This welcoming message utilizes a gettext function which accepts a string to translate as the first argument. This string can be considered as a translation key,…


Verfijn zoekopdracht

Bewaar deze zoekopdracht

Bewaarde zoekopdrachten

Je hebt nog geen bewaarde zoekopdrachten.