Hi, here is a link to my portfolio project on GitHub Pages:
https://radams997.github.io/portfolio-project/
Here is a link to the repository:
I spent about 3 weeks on this and I struggled with a few things. There are still a lot of changes I would make but I found myself getting bogged down with styling so I had to cut myself off from making edits so I could go ahead and post and get feedback.
Here are the things I would love some help on:
-
My original plan was to outline my page using CSS Grid simply because I had not used it much and I thought it would be easier than flexbox. I was wrong. Lol. For some reason, my brain cannot wrap my head around grid and how to use it for a full-page layout. You will see it used in a few elements, but I feel like I made it more complicated than it needed to be. Any feedback on the grid elements I did use is much appreciated.
-
I struggled a lot with Javascript when learning it in the Codecademy lessons. I spent about a week trying to get the basic functionality that is used in this project, and it still doesn’t behave how I want it to! I wanted the projects to behave like the following:
- The individual project descriptions are displayed when clicking on the Project Name.
- When ANY project description is displayed, the text that says “Click project name to see more” would change to “Click project name to close”
- “Click project name to see more” does not reapper until all project descriptions are hidden again.
Here is how it is actually behaving:
- You have to double click on the project name to view the project description
- The “click project name to see more” and “click project name to close” toggles back and forth on every click, regardless if a project description is visible.
I couldnt find the answers I was looking for when searching in the documentation, or maybe it was just above my head but I feel like I am missing a simple solution. Additionally, instead of creating 3 different functions for each individual project, I really wanted to find a solution where I could have used 1 function. I had to use getElementById() instead of getElementsByClassName() because the latter did not work when tested. I feel like I needed to use a loop but I struggled with how to use it.
I would so appreciate some insight because this drove me crazy!!!
- For the contact page, I used a form, simply because I wanted to practice using a form. The problem is, I have no idea how forms actually work LOL.
Did I need to create a new .html file to assign the action attribute? could I have just used contact.html instead?
I still dont understand the difference between GET and POST.
Where is the data going? I still dont understand. If this was my actual website and a prospective client entered their information into the form, how would I get that information? Maybe this will be explained in later lessons.
When the form is submitted, a message comes up that says “Thanks for your submission!”
a) I tried to style it so that the message would display in the middle of the form. I tried flexbox and grid but it didnt work so I deleted it.
b) What would be a solution so that when you refreshed the page the form would reappear? Assigning the action attribute to contact.html instead of the new submission.html and using javascript to hide the rest of the form once the form was submitted and to reappear once the page is refreshed?
I apologize if I am using incorrect terminology or not explaining things properly. Overall, I am really proud of the work I did for this project because I have definitely improved, although I am not where I want to be. Fortunately, I was able to find a lot of answers to questions I had as I worked, and I did learn a lot with this project! Any insight or feedback is greatly appreciated.
Thanks in advance!