This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* !-------- WORDPRESS CLASSES ------------------- */ | |
/*------------------------------------------------------------ *\ | |
\*------------------------------------------------------------ */ | |
/* !-- WP WYSIWYG Editor Styles -- */ | |
.entry-content img { | |
margin: 0 0 1.5em 0; | |
} | |
.alignleft, img.alignleft { | |
margin-right: 1.5em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
.layout-container{ | |
width: 500px; | |
border: 1px solid #000; | |
margin: auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
//Arithmetic operators | |
int num1 = 10, num2 = 21; | |
float sum; | |
//summation | |
sum = num1 + num2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
// by "const" keyword | |
int main() { | |
const int LENGTH = 15; | |
const int WIDTH = 7; | |
const char NEWLINE = '\n'; | |
int area; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
// by #define preprocessor | |
#define LENGTH 15 | |
#define WIDTH 7 | |
#define NEWLINE '\n' | |
int main() { | |
int area; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul li{ | |
list-style-image: url(images/tick.png); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS Comment */ | |
p{ | |
font-size: 18px; | |
color: red; | |
font-style: italic; | |
font-variant: small-caps; | |
font-family: cursive; | |
_text-align: center; | |
_text-indent: 50px; |
NewerOlder