html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!--Original copied from Sololearn.com -->
<!-- Modified by David Caroll -->
<html>
<head>
<base href="https://www.sololearn.com" target="_blank">
<title>Qus:- Explain the difference between hibernate and Spring? | SoloLearn: Learn to code for FREE!</title>
<link href="https://code.sololearn.com/Styles/Base?v=sgOnV5tZ51wxrxXuDwCNFEOJkAyZUDkvm1ksGIiF7Ak1" rel="stylesheet"/>
<link href="https://code.sololearn.com/Content/discussion.css" rel="stylesheet"/>
</head>
<body>
<div class="content">
<div class="purpose">
<p class="note">
<strong>Scroll Down</strong> to see the original text from the <a href="https://www.sololearn.com/Discuss/1807474/qus-explain-the-difference-between-hibernate-and-spring">question post</a>.
</p>
<h1>Debate from Question Post:</h1>
<a href="https://www.sololearn.com/Discuss/1807474/qus-explain-the-difference-between-hibernate-and-spring">Original Post Link</a>
<p>
A heated debate erupted in a Q&A post which has slid off track for that original question.
Rather than continuing this debate on that question thread, I've created this code to allow for
this discussion to continue in a public forum.
</p>
<p>
I've removed all off topic answers from the <a href="https://www.sololearn.com/Discuss/1807474/qus-explain-the-difference-between-hibernate-and-spring">original question post</a>. However, all original answers have been captured verbatimly and can be reviewed below.
</p>
<p class="next-steps">
<strong>Please feel free to continue that discussion here.</strong> I only ask that all parties remain respectful with the understanding that everyone is trying to provide feedback on improving this community.
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*DC: Override Styles */
.postActions,
x.replyControls,
#repliesOrdering,
#newPostMessage,
button {
display:none;
border:solid 1px red;
visibility:hidden;
}
.upVote:hover,
.upVote.active,
.upVote {
background-position: 0px 0px;
cursor: default;
}
.downVote:hover,
.downVote.active,
.downVote {
background-position: 0px 25px;
cursor: default;
}
.purpose{
border: solid 5px #c60;
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let dates;
window.onload = function(){
dateElements = document.querySelectorAll("p.date")
for(let i = 0; i < dateElements.length; i++){
let dateElement = dateElements[i]
let dateValue = dateElement.getAttribute("data-date")
let now = new Date(Date.parse(dateValue + " GMT"))
let displayTime = `${now.toLocaleDateString()} @ ${now.toLocaleTimeString()}`
//console.log(`${dateElement.innerText} -> ${displayTime}`)
dateElement.innerText = displayTime
}
}
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run