Nice done, I love it! Can I suggest three more lines of javascript? :D
... let isLight = true; ... function modeSwitch() { ... isLight = !isLight; isLight ? toggle.innerText = "🌞" : toggle.innerText = "🌚"; }
Hey. I updated pen according to your suggestions. Thanks 🤩.
Really? I'm honored! :D
Yep. I'm still learning and I love to share what learned hoping it would be helpful for someone.😄
Me too, same story! Nice website, I like it. Do you like something about my repos? :D
I checked repos... You have awesome portfolio 🔥.
I really appreciate it! :D
The ternary expression can be simplified to the following:
toggle.innerText = isLight ? "🌞" : "🌚"
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice done, I love it!
Can I suggest three more lines of javascript? :D
Hey. I updated pen according to your suggestions. Thanks 🤩.
Really? I'm honored! :D
Yep. I'm still learning and I love to share what learned hoping it would be helpful for someone.😄
Me too, same story!
Nice website, I like it. Do you like something about my repos? :D
I checked repos... You have awesome portfolio 🔥.
I really appreciate it! :D
The ternary expression can be simplified to the following: