Auto-populate navbar & edit Luhn algorithm page

This commit is contained in:
Matthew Grove
2019-01-26 15:22:58 +00:00
parent 8b14ab5f36
commit 771f861b59
11 changed files with 72 additions and 2797 deletions

View File

@@ -2,14 +2,17 @@
title: Luhn Algorithm
description: Replication of the Luhn algorithm
layout: default
icon: credit_card
---
# Validate
<link href="style.css" rel="stylesheet" type="text/css">
# Validate Your Number
<!-- input field (in a container so that unwanted overflow from :before & :after is hidden) -->
<div class="mdc-text-field-container">
<div class="mdc-text-field mdc-text-field--outlined" data-mdc-auto-init="MDCTextField">
<input type="number" id="number-input-field" class="mdc-text-field__input">
<label for="number-input-field" class="mdc-floating-label ">Your Number</label>
<label for="number-input-field" class="mdc-floating-label ">Number</label>
<div class="mdc-notched-outline">
<svg>
<path class="mdc-notched-outline__path"/>

3
luhn-algorithm/style.css Normal file
View File

@@ -0,0 +1,3 @@
.mdc-text-field-helper-text {
margin: 0;
}