Decca example
How do I make an decca example?
What is a decca example? How do you make a decca example? This script and codes were developed by Rico Sta. Cruz on 19 January 2023, Thursday.
Decca example - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Decca example</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script src="https://wzrd.in/standalone/[email protected]"></script>
<div id='header'> See Decca's <a href='https://ricostacruz.com/decca/components.html' target='_blank'>Components documentation</a> for details.
</div>
<div id='app'></div> <script src="js/index.js"></script>
</body>
</html>
Decca example - Script Codes CSS Codes
html, body, #app { margin: 0; padding: 0;
}
#app { padding: 32px;
}
body { font-family: sans-serif;
}
#header { box-sizing: border-box; width: 100%; padding: 16px; font-size: 14px; color: #666; text-align: center; border-bottom: solid 1px #ddd;
}
#header a,
#header a:visited { text-decoration: none; color: dodgerblue; font-weight: bold;
}
.message-box { width: 200px; border: solid 2px #ddd;
}
.message-box > h2 { border-bottom: solid 1px #ddd; padding: 16px; margin: 0;
}
.message-box p { padding: 8px; margin: 0;
}
Decca example - Script Codes JS Codes
'use strict';
/* @jsx decca.element */
var render = decca.dom.createRenderer(document.getElementById('app'));
render(decca.element(Message, { name: 'John', email: '[email protected]' }));
function Message(_ref) { var props = _ref.props; return decca.element( 'div', { 'class': 'message-box' }, decca.element( 'h2', null, props.name ), decca.element(Profile, props) );
}
function Profile(_ref2) { var props = _ref2.props; return decca.element( 'div', null, decca.element( 'p', null, 'Name: ', props.name ), decca.element( 'p', null, 'Email: ', props.email ) );
}
Developer | Rico Sta. Cruz |
Username | rstacruz |
Uploaded | January 19, 2023 |
Rating | 3 |
Size | 2,444 Kb |
Views | 6,072 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Diff-based typing test | 4,262 Kb |
CSS variables iOS bug demo | 1,516 Kb |
React template | 1,886 Kb |
Background blur hack | 1,675 Kb |
Float wrapping demo | 1,653 Kb |
Styled file input | 2,218 Kb |
Waves | 2,865 Kb |
Gradient washing | 1,714 Kb |
A Pen by Rico Sta. Cruz | 2,346 Kb |
Cookie notice snippet | 2,651 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Lecture 1 | Law | 0 Kb |
Working around OS X Dynamic Scrollbars | Jrjenk | 2,279 Kb |
Toggling Divs with jQuery | Yying6 | 1,967 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
Monochrome Form | AlienPiglet | 3,096 Kb |
Price Comparison Table | Orrinward | 3,459 Kb |
12 DAYS OF XMAS | Proto78 | 2,313 Kb |
Infractions - Attitude | Kylie_Joseph | 7,672 Kb |
Slick Slider | Wearebold | 5,913 Kb |
Testimonial Fancy tabs responsive | Amit-webdesigner | 3,056 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!