Happy Trails: Bear Creek Trail an alternate to beloved Section 16 in Colorado Springs

bear creek 1.jpg

let pathVariable;
let pathVariable2;

function handleUrlPathSegment() {

const fullPath = window.location.pathname.toLowerCase();
if (fullPath.includes(‘/business/’)) {
pathVariable = ‘business’;
pathVariable2 = ‘Business Newsletter’;
} else if (fullPath.includes(‘/outdoors/’) || fullPath.includes(‘/outdoor/’)) {
pathVariable = ‘outdoors’;
pathVariable2 = ‘Outdoors Newsletter’;
} else if (fullPath.includes(‘/opinion/’)) {
pathVariable = ‘opinion’;
pathVariable2 = ‘Opinion Newsletter’;
} else if (fullPath.includes(‘politics’)) {
pathVariable = ‘politics’;
pathVariable2 = ‘Politics Newsletter’;
} else if (fullPath.includes(‘outtherecolorado’)) {
pathVariable = ‘outtherecolorado’;
pathVariable2 = ‘Out There Colorado Newsletter’;
} else {
pathVariable = ‘am-update’;
pathVariable2 = ‘AM Update Newsletter’;
}

console.log(`Current path: ${fullPath}`);
console.log(`Path variable set to: ${pathVariable}`);
console.log(`Path variable 2 set to: ${pathVariable2}`);

applyNewsletterName(pathVariable2);

return { pathVariable, pathVariable2 };
}

function applyNewsletterName(newsletterName) {

if (document.readyState === ‘loading’) {
document.addEventListener(‘DOMContentLoaded’, function() {
updateNewsletterElement(newsletterName);
});
} else {

updateNewsletterElement(newsletterName);
}
}

function updateNewsletterElement(newsletterName) {
const newsletterElement = document.getElementById(‘newsletterName’);

if (newsletterElement) {
newsletterElement.textContent = newsletterName;
console.log(`Updated #newsletterName element with: ${newsletterName}`);
} else {
console.warn(‘Element with ID #newsletterName not found in the DOM’);
}
}

function setupFormSubmitListener() {
function getFormattedDate() {
const now = new Date();

const timestamp = now.getTime();

console.log(‘chris: Using Unix timestamp’);
console.log(‘chris: Current time:’, now);
console.log(‘chris: Unix timestamp (ms):’, timestamp);

return timestamp;
}

const formattedDate = getFormattedDate();
var profile = window.blueConicClient.profile.getProfile();
profile.setValues(‘newsletter_category’, pathVariable);
profile.setValue(‘newsletter_signup_date’, formattedDate);
window.blueConicClient.profile.updateProfile(this, function() {
});
}

handleUrlPathSegment();
setupFormSubmitListener();

Success! Thank you for subscribing to our newsletter.

function subscribeSuccess() {
var nsltrform = document.querySelector(“#nsltr”);
var nsltrSuccess = document.querySelector(“#successnsltr”);

nsltrform.classList.add(“hideblock”);
nsltrSuccess.classList.remove(“hideblock”);
}

function validateEmail(email) {
return String(email)
.toLowerCase()
.match(
/^(([^()[].,;:s@”]+(.[^()[].,;:s@”]+)*)|(“.+”))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/
);
}

function validateEmailAddress() {
const result = document.querySelector(“#result”);
const email = document.querySelector(“#email”).value;

result.innerText = “”;

if(validateEmail(email)) {
newsletterSubscribe(email);
} else {
result.innerText = ‘The email entered: ‘ + email + ‘ is not valid :(‘;
result.style.color = “red”;
}
return false;
}

function newsletterSubscribe(email) {
fetch(“https://services.gazette.com/mg2-newsletters.php?action=subscribe&site=denvergazette.com&emailPreferenceId=60&email=” + email, {
method: “POST”
}).then(res => {
console.log(“SUCCESSFUL POST”);
subscribeSuccess();
});

}

#nsltr {
min-width: 100%;
margin: 10px 0;
padding: 10px 20px;
background-color: #2076b3;

background-image: url(https://static.gazette.com/emails/circ/Audience%20Images/dg%20outdoors%20sign%20up.png);
background-size: cover;

}

#nsltr-header {
color: #fff4f4;
}
#nsltr-body {
text-align: center;
color: ;
}
#nsltr-button {
margin-top: 5px;
}
#successnsltr {
min-width: 100%;
margin: 10px 0;
padding: 10px 20px;
background-color: green;
text-align: center;
color: white;
}

#successnsltr a {
color: white;
}

.hideblock {
display:none;
}

h6 a {
color: black;
text-decoration: none;
padding: 5px;
background-color: #bbccdd;
font-weight: 600;
}

@media only screen and (min-width: 768px) {
#nsltr {
background-image: url(https://static.gazette.com/emails/circ/Audience%20Images/dg%20outdoors%20sign%20up.png);
background-size: cover;
}
}

Featured Local Savings

The view from Bear Creek Trail in Colorado Springs.


{
“@context”: “https://schema.org”,
“@type”: “VideoObject”,
“name”: “VIDEO | Happy Trails: Bear Creek Trail”,
“description”: “The view from Bear Creek Trail in Colorado Springs.”,
“thumbnailUrl”: “https://bloximages.newyork1.vip.townnews.com/denvergazette.com/content/tncms/assets/v3/editorial/1/4c/14c8a73e-405e-50aa-9990-d3d9722ea5cb/5f3705f66004e.image.jpg?resize=1396%2C785”,
“uploadDate”: “2019-06-03T13:04:00-06:00”,
“contentUrl”: “https://redirect.field59.com/video/b4d89246a2e0047bead7390ca4e22df0da95127f.mp4”
}

The Bear Creek Trail dead-ends 0.3 miles ahead, where Josephine Falls is seen from a distance.

Trip log: 5 miles round trip (out and back), 1,934 feet total ascent, 8,113 feet max

Difficulty: Moderate-difficult

Getting there: Going west on U.S. 24, turn left (south) on 26th Street. At stop sign, turn right onto Lower Gold Camp Road, following to Section 16 trailhead. Ahead, the road dips and curves, with High Drive starting on the right side.

FYI: Multiuse, nonmotorized. Dogs on leash. No camping.

SETH BOSTER, THE GAZETTE

Tags


Welcome Back.

Streak: 9 days i

Stories you've missed since your last login:

Stories you've saved for later:

Recommended stories based on your interests:

Edit my interests