diff --git a/css/flexbox.css b/css/flexbox.css new file mode 100644 index 0000000..288d065 --- /dev/null +++ b/css/flexbox.css @@ -0,0 +1,92 @@ +.container-header { + display: flex; +} +.navbar ul{ + display: flex; + flex-direction: column; + list-style: none; +} +.container-1 { + display: flex; + flex-direction: column; + padding-top: 0px; +} +.container-1 li { + display: flex; + flex-direction: column; + text-decoration: none; + list-style: none; +} +.container { + display: flex; + flex-wrap: wrap; + flex-direction: column; + flex-grow: 1; + margin-top: 4rem; + margin-bottom: 4rem; +} + +@media screen and (min-width: 481px) and (max-width: 768px) { + nav { + margin: auto; + float: right; + text-size-adjust: auto; + text-justify: auto; + } + nav ul { + display: inline-flex; + margin: 1rem; + } +} +@media screen and (min-width: 769px) and (max-width: 1024px) { + .container-header { + justify-content: space-around; + } + .my-logo { + margin: 20px; + } + nav { + width: 100%; + } + .navbar ul { + flex-direction: row; + margin-left: 0rem; + margin-top: 3.5rem; + justify-content: space-around; + font-size: medium; + } + .container-1.about { + flex-direction: row; + } + .my-photo { + margin-top: 1.1rem; + margin-right: 5rem ; + } +} +@media screen and (min-width: 1025px) { + .container-header { + justify-content: space-around; + } + .my-logo { + margin: 30px; + } + nav { + width: 100%; + } + .navbar ul { + flex-direction: row; + margin-top: 4rem; + justify-content: space-around; + font-size: large; + } + .container-1.about { + flex-direction: row; + } + .my-photo { + margin-right: 5rem ; + } + .item-1.item { + margin-left: 5rem; + margin-right: 3rem; + } +} \ No newline at end of file diff --git a/css/index.css b/css/index.css new file mode 100644 index 0000000..b601ed8 --- /dev/null +++ b/css/index.css @@ -0,0 +1,192 @@ +body { + font-size: 1.35rem; + font-family: "Varela Round", sans-serif; + color: rgb(48, 41, 141); + background-color: rgb(239, 244, 251); + padding-left: 5%; + padding-right: 5%; +} +header { + background: #b3cafc; + font-size: 1rem; + width: 100%; + top: 0; + box-shadow: 10px 5px 5px rgba(10, 35, 97, 0.527); + position: sticky; +} +img { + margin: auto; + border-radius: 25px; + box-shadow: 10px 5px 15px rgba(2, 25, 57, 0.486); +} +.navbar ul { + margin: 1.2rem; + padding: 0px; +} +.navbar ul li{ + padding: 0px; +} +/*-- About Section --*/ +.container-1 ul { + padding: 10px; + margin-left: 1rem; + margin-right: 1rem; + box-shadow: 0 1.5px 0 0 rgba(0,0,0,0.1); + list-style: none; + text-decoration: none; +} +.item { + padding: 0.8rem; + margin: 15px; + border-radius: 13px; + text-align: center; +} +.my-photo { + height: 15vh; +} +h1 { + color: rgb(72, 83, 159); + font-size: 50px; + font-weight: 750; + margin-left: 2rem; +} +h2 { + color: rgb(63, 105, 183); + font-size: auto; + padding-top: 1rem; + margin: 0px; + text-align: center; +} +nav li { + margin: 0 0 0.5rem 2.2rem; + position: relative; +} +nav a { + color: #444; + text-decoration: none; + text-transform: uppercase; +} +nav a:hover { + color: rgb(52, 85, 206); +} +nav a::before { + content: ''; + display: block; + height: 1px; + width: 100%; + background-color: #444; + + position: absolute; + top: 0; + width: 0%; + transition: all ease-in-out 250ms; +} +nav a:hover::before { + width: 100%; +} +.container { + border-radius: 0.5rem; + box-shadow: 10px 5px 15px #163e8a80; + background-color: rgba(11, 97, 245, 0.12); + text-align: justify; +} +ul.role { + display: flex; + flex-direction: column; + margin: 1em; + padding: 1rem; + flex-wrap: wrap; +} +.card { + display: flex; + max-width: 100%; + margin: 0.5rem; + padding: 0.3rem; + height: 4.5rem; + justify-content: space-between; +} +#connect p a{ + color:rgb(28, 8, 116); + text-decoration: none; +} +#experience li, #skills li, #connect p { + border: 1px solid grey; + padding: 10px; + list-style: none; + border-radius: 12px; +} +#experience ul, +#skills ul, +#connect p a { + display: flex; + flex-wrap: wrap; + justify-content: space-around; +} +#experience { + flex-direction: column; +} +#skills ul{ + flex-direction: row; +} +.container-1.connect { + width: 15rem; + flex-direction: row; + margin-left: auto; + margin-right: auto; + margin-top: 20px; + margin-bottom: 20px; + width: fit-content; + gap: 30px; +} +#experience li:hover, +#skills li:hover, +#connect p:hover, +.connect a:hover { + list-style: none; + background-color: rgba(70, 154, 223, 0.276); + color: rgb(2, 23, 82); +} +#skills li { + width: 8rem; + margin-top: 20px; + text-align: center; +} +#leave_message label { + font-size: medium; +} +.form { + max-width: 250px; + margin: 20px; +} +.leave_message button, +.messages ul li button { + background-color: rgb(57, 82, 160); + color: white; + width: 120px; + padding: 5px 25px; + margin-bottom: 4px; + font-size: medium; +} +.leave_message button:hover, +.messages ul li button:hover { + background-color: rgba(70, 154, 223, 0.652); + color: rgb(3, 34, 65); + padding: 5px 25px; + font-size: medium; + cursor: pointer; +} +input, +textarea { + width: 85%; + font-size: 1rem; + padding: 5px 2px; + margin-top: 5px; + margin-bottom: 5px; +} +footer { + background-color: rgb(213, 223, 248); + padding: 20px 20px; + text-align: left; + font-size: normal; + font-weight: 500; +} \ No newline at end of file diff --git a/images/AB-pic.jpg b/images/AB-pic.jpg new file mode 100644 index 0000000..b42f8fc Binary files /dev/null and b/images/AB-pic.jpg differ diff --git a/images/Sonic2.jpg b/images/Sonic2.jpg new file mode 100644 index 0000000..3af3724 Binary files /dev/null and b/images/Sonic2.jpg differ diff --git a/images/my-pic.jpg b/images/my-pic.jpg new file mode 100644 index 0000000..e1d30c4 Binary files /dev/null and b/images/my-pic.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..67042b1 --- /dev/null +++ b/index.html @@ -0,0 +1,122 @@ + + + + + + + + + + Alzhan Braliyev + + + + + + +
+
+ +
+ +

Alzhan Braliyev

+
+

About

+
+
+

Aspiring front-end engineer with experience in UI, UX. + Proficient in HTML, CSS and JavaScript. + Strong analytical and troubleshooting skills to resolve technical and business issues. + Excellent team player, quick-learner, and self-starter. +

+
+
+ my-photo +
+
+
+ +
+

Experience

+ +
+
    +
  • + + Software QA Engineer + " -- Silkpay" + + 01/2021 - 05/2022 +
  • +
  • + + Software QA + " -- KGS Space Technologies" + + 11/2019 - 01/2021 +
  • +
  • + + QA Analyst + " -- Kazakh Invest" + + 04/2018 - 10/2019 +
  • +
+
+
+ +
+

Skills

+ +
+
    +
    +
    + +
    +

    Connect

    + +
    + +
    +

    Leave a Message

    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + + + +
    + + \ No newline at end of file diff --git a/js/index.js b/js/index.js new file mode 100644 index 0000000..8e3182d --- /dev/null +++ b/js/index.js @@ -0,0 +1,65 @@ +const today = new Date(); +const thisYear = today.getFullYear(); +const footer = document.querySelector("footer"); +const copyright = document.createElement("p"); + +copyright.innerHTML = ` Alzhan Braliyev © ${thisYear}`; +footer.appendChild(copyright); + +//Putting skills in HTML in ul and li +const skills = ["Java Script", "HTML", "CSS", "Node.js", "Mocha", "React", "MySQL"]; +const skillsSection = document.getElementById("skills"); +const skillsList = skillsSection.querySelector("ul"); +for (let i = 0; i < skills.length; i++) { + let skill = document.createElement("li"); + skill.innerText = skills[i]; + skillsList.appendChild(skill); +} +// Creating Messages form with input fields +const messageForm = document.getElementsByName("leave_message"); +messageForm.item(0).addEventListener("submit", (event) => { + event.preventDefault(); + const nameInput = event.target.name.value; + const emailInput = event.target.email.value; + const messageInput = event.target.message.value; + console.log(nameInput, emailInput, messageInput); + + const messageSection = document.getElementById("messages"); + const messageList = messageSection.querySelector("ul"); + const newMessage = document.createElement("li"); + + newMessage.innerHTML = `${nameInput} ${messageInput} `; + messageList.appendChild(newMessage); + +//Remove button and disappearing Messages section + const removeButton = document.createElement("button"); + removeButton.innerText = "Remove"; + removeButton.type = "button"; + + removeButton.addEventListener("click", function() { + const entry = removeButton.parentNode; + entry.remove(); + if (messageList.childElementCount === 0) { + messageSection.style.display = "none"; + } + }); + + messageSection.style.display = "block" + newMessage.appendChild(removeButton); + messageList.appendChild(newMessage); + +//Creating Edit button and new input prompt + const editButton = document.createElement("button"); + editButton.innerText = "Edit"; + editButton.type = "button"; + editButton.addEventListener("click", () => { + let editMessage = prompt("Enter your new message:", `${messageInput}`); + newMessage.innerHTML = `${nameInput} ${editMessage} `; + newMessage.appendChild(removeButton); + newMessage.appendChild(editButton); + }) + newMessage.appendChild(editButton); + messageList.appendChild(newMessage); + + document.querySelector('form').reset(); +}); \ No newline at end of file