Tuesday, 22 June 2021
Thursday, 17 June 2021
Responsive Web Page Design
Exercise 13: Login & Signup Forms
(JAVA)
function validate(form) {
var credentials = JSON.parse(window.name);
var usernameInput = document.getElementById("user").value;
var passwordInput = document.getElementById("pass").value;
var matchingCredential = credentials.find(x => x.username == usernameInput);
if (matchingCredential == undefined) {
alert('No such user');
return;
}
if (matchingCredential.password == passwordInput) {
alert('Login Successful');
window.location.href = "https://kekelcabarloc.blogspot.com/";
}
else {
alert('No such credential');
}
}
var credentials = [];
function signup() {
var passwordPassesCriteria = false;
var passwordMatched = false;
var usernameInput = document.getElementById('username-input').value;
var passwordInput = document.getElementById('password-input').value;
var confirmPasswordInput = document.getElementById('confirm-password-input').value;
passwordMatched = passwordInput == confirmPasswordInput;
var regex = /^[a-zA-Z\s]+$/;
passwordPassesCriteria = regex.test(passwordInput);
console.log(saveCredentials);
if (passwordMatched && passwordPassesCriteria) {
displayFormData(usernameInput, passwordInput);
saveCredentials();
goToLogin();
}
}
function saveCredentials() {
var username = document.getElementById('username-input').value;
var password = document.getElementById('password-input').value;
credentials.push({
username: username,
password: password
});
var objectAsString = JSON.stringify(credentials);
window.name = objectAsString;
}
function displayFormData(username, password) {
var alertMessage = 'Username: ' + username + '\n' +
'Password: ' + password;
alert(alertMessage);
}
function goToLogin() {
window.location.href = 'loginnn.html';
}
function goToSighUp() {
window.location.href = 'signuppp.html';
}
Tuesday, 15 June 2021
Exercise 12: Chat Box
Exercise 11: YouTube Video Link Parameters
HOME
I wanna share some videos! ☺
Music Video
This video will autoplay but is muted
music when I need to chill
This video is looped
MY Dance Group
This video does not display controls
Exercise 10: Animation Web Page
Friday, 7 May 2021
Thursday, 6 May 2021
Excercise 8 CSS (SIDE BAR NAVIGATION) HTML
Home

Hi my name is Excekel Cabarloc I'm a Freelance Videographer and Graphic Designer
Portfolio




Profile

HI! I'm
Excekel Cabarloc
Aspiring Videographer and Graphic Designer, I'm currently 3rd year Multimedia Arts student in University of Perpetual Help Molino.
I make my own digital art and vector art I posted it on my instagram account
Itake pictures in event like Debut and Wedding
I have some short film in my youtube channel