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
<!-- Latest Sortable --> | |
<script src="//rubaxa.github.io/Sortable/Sortable.js"></script> | |
<div class="modal-overlay"></div> | |
<div class="wrap" id="multi"> | |
<div class="dragBox" id="drag1"> | |
<div id="task1" class="task" onclick="expandCard(this, event)"> | |
<div class="cardMini "> | |
<div class="header color-green"></div> | |
<div class="content">Task Content...</div> | |
</div> |
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
sectio.nav | |
h1 FRONTEND TRENDS | |
h3.span.loader | |
span.m B | |
span.m E | |
span.m N | |
span.m E | |
span.m F | |
span.m I | |
span.m T |
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
<canvas id="canvas"></canvas> |
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
<canvas id="canvas"></canvas> |
Write a program using Ruby that will take a number (eg 28 or 1755 or 9, etc) and output the following:
- If the number contains 3 as a factor, output 'Pling'.
- If the number contains 5 as a factor, output 'Plang'.
- If the number contains 7 as a factor, output 'Plong'.
- If the number does not contain 3, 5, or 7 as a factor, output the number as a string.
- 28 has 7 as a factor. In raindrop-speak, this would be a simple "Plong".
Write a function that receives two arguments, both of which are Arrays and sums them. These arrays contain only numbers. You don't know their length and they can contain both integers and floating point numbers.
[2, 6.4, 3] + [3, 3.6, 2] = 20
Create another version of the above function that can accept more than two arrays as the arguments (you don't know the specific number of arguments). Hint - look up 'The arguments object'.