I am currently working on this project at the moment:
https://www.codecademy.com/journeys/front-end-engineer/paths/fecj-22-building-interactive-websites/tracks/fecj-22-html-portfolio-project-personal-portfolio-website/modules/wdcp-22-personal-portfolio-project-21965fcf-f975-4849-8103-ac20ba18e97d/kanban_projects/portfolio-website
I am in the Front End Engineering course right now. Have gone through big hurdles to get where I am now. Javascript, however, gives me a big headache and I just need to know how to do one little thing and was wondering if I could get help from someone about this.
So basically. Iâve made a page with all the required elements like h1, h2, h3, head, footer, etc. Contact Page, main page, and an âadditional infoâ page of sorts. I am taking this project seriously and plan to use these project files Iâm working on to make a real portfolio page that showcases my art portfolio as well as my coding portfolio.
Basically, all I need to do now is one thing and I am having a hard time figuring out how to do it:
I just want to be able to make the h1 element at the top of each page clickable and allow it to change between a âlightâ and a âdarkâ theme on the website.
What I want to do with the theme changer is actually quite simple. Upon clicking the h1 header element, I want to see this functionality:
Change the background image
change the element display boxes from white to black
change the text from black to white
style links from a greenish color to a yellow-ish âstreetlampâ-esque color.
be able to change back and forth between that light and dark theme each time I click the h1 header element
How can I accomplish this?
Beyond that, curious if you all have any tips on how to gain an understanding of how Javascript works. I am having a hard time retaining the info Iâve learned about it and itâs been very frustrating to me. I do not feel confident that I would be able to make a javascript file for someone upon request and that worries me.
I apologize if I posted this in the wrong area, please let me know if so.
I find it ironic how a lot of the material in the course has been quite easy to me so far, especially using the terminal and using github because I have plenty of experience with that being a full-time GNU/Linux user since about 7 years ago, but Javascript has totally stopped me in my tracks. I may even go back and redo all of the Javascript lessons, because itâs just that hard for me. I apologize if I come off frustratedâitâs because I am! itâs my main concern right now, properly learning it and applying it to my work.