Do not click that button
Seriously!... don't do it...
It's lacking style but that's ok! because i do too >_>
A DIVision tag - most common
Biggest Heading
Next Biggest Heading
Paragraph
-
These tags are used for lists
All tags have the ability to assign a class and id.
/app/views/
/app/views/application.erb
Do not click that button
Seriously!... don't do it...
body {
font-family: 'Helvetica', sans-serif;
}
#main-text{
color: red;
}
.large-button {
border: 1px solid black;
background: white;
padding:10px;
}
/app/assets/stylesheets/
/app/assets/stylesheets/application.css
* {
box-sizing: border-box;
}
The above snippet placed at the top of the css may fix a lot of frustration.
$(".large-button").click(function(){
alert("this is why we can't have nice things");
});
* This code uses a JS library called JQuery
//declaring the result
function result () {
alert("this is why we can't have nice things");
}
//attaching the action to the button
$(".large-button").click(result());
* This code uses a JS library called JQuery
/app/assets/javascripts/
/app/assets/javascripts/application.js