Skip to content

Instantly share code, notes, and snippets.

View aishaon's full-sized avatar
🎯
Focusing on WordPress & PHP

Ariful Islam Shaon aishaon

🎯
Focusing on WordPress & PHP
View GitHub Profile
@aishaon
aishaon / cssintro.html
Created October 13, 2019 10:10
CSS basic syntax and use
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<!-- Internal CSS
<style>
h2{
font-size: 30px;
@aishaon
aishaon / externalcss.css
Created October 13, 2019 10:12
External CSS and its use
h2{
font-size: 30px;
color: green;
background: yellow;
padding: 10px 25px;
margin-top: 100px;
}
p{
text-align: center;
color: red;
@aishaon
aishaon / learning.css
Created October 13, 2019 10:14
CSS Text formatting
/* CSS Comment */
p{
font-size: 18px;
color: red;
font-style: italic;
font-variant: small-caps;
font-family: cursive;
_text-align: center;
_text-indent: 50px;
@aishaon
aishaon / custom-list.css
Created October 13, 2019 10:16
Custom List with HTML & CSS
ul li{
list-style-image: url(images/tick.png);
}
@aishaon
aishaon / keywords.c
Created October 13, 2019 14:56
Keywords in C programming language
#include <stdio.h>
void main() { //void is a keyword, see the list below
/*
Keywords:
The following list shows the reserved words in C or any other programming language(mostly).
These reserved words may not be used as constants or
variables or any other identifier names.
@aishaon
aishaon / constant.c
Created October 13, 2019 14:57
Constant in C language
#include <stdio.h>
// by #define preprocessor
#define LENGTH 15
#define WIDTH 7
#define NEWLINE '\n'
int main() {
int area;
@aishaon
aishaon / constant-2.c
Created October 13, 2019 14:57
Constant by "const" keyword
#include <stdio.h>
// by "const" keyword
int main() {
const int LENGTH = 15;
const int WIDTH = 7;
const char NEWLINE = '\n';
int area;
@aishaon
aishaon / index.html
Created January 15, 2020 19:10
A simple layout for class
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Layout</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
</head>
<body>
@aishaon
aishaon / SassMeister-input-HTML.html
Created January 30, 2020 11:58
Generated by SassMeister.com.
<nav>
<ul>
<li><a href="#">List Item</a></li>
<li><a href="#">List Item</a></li>
<li><a href="#">List Item</a></li>
<li><a href="#">List Item</a></li>
<li><a href="#">List Item</a></li>
</ul>
</nav>
@aishaon
aishaon / index-html5.html
Created March 12, 2020 15:21
Layout by HTML5
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.layout-container{
width: 500px;
border: 1px solid #000;
margin: auto;