This file contains hidden or 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> | |
| <head> | |
| <title>My Webpage</title> | |
| <link rel="shortcut icon" type="image/png" href="html5_logo.png"> | |
| </head> | |
| <body> | |
| <h2>This is Hello world</h2> |
This file contains hidden or 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> | |
| <head> | |
| <meta charset="utf-8"> | |
| <!-- description meta-tags--> | |
| <!-- typically upto 160 characters--> | |
| <meta name="description" content="This is a website that teaches HTML & CSS"> | |
| <!--meta tags for responsiveness --> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> |
This file contains hidden or 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
| //expressions and conditionals | |
| class App extends Component { | |
| //method of class | |
| foo = () => 'Bars'; | |
| render() { | |
| const name = 'John Doe'; | |
| const foo = () => 'Bar'; | |
| const loading = false; | |
| const showName = false; |
This file contains hidden or 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
| var greeting=function(name){ | |
| return 'Hello '+name; | |
| }('John'); | |
| console.log(greeting); | |
| var firstname="John"; |
This file contains hidden or 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
| var greeting=function(name){ | |
| return 'Hello '+name; | |
| }('John'); | |
| console.log(greeting); | |
| var firstname="John"; |
This file contains hidden or 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
| [[redirects]] | |
| from = "/*" | |
| to = "/index.html" | |
| status = 200 |
console.log(a);
if (true) {
var a = 10;
console.log(a);
}
console.log(b);
if (false) {
var b = 20;
console.log(b);
OlderNewer