This is a solution to the Article preview component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the component depending on their device's screen size
- See the social media share links when they click the share icon
- Solution URL: Add solution URL here
- Live Site URL: Add live site URL here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
-- i learnt how to use eventlistener in changing stuffs on my page when something is clicked. -- I also understand how positioning works with media queries at differnt viewports
shareButton.onclick = function(){
(Bio.style.display = "none");
activeState.style.display= "flex";
}
HideButton.onclick = function(){
(Bio.style.display = "flex");
activeState.style.display = "none"
}
}
- I want to improve on writing my javascript and how to use modern javascript syntax to do more
- Website - Nichael Adebambo
- Frontend Mentor - @Blazing-Mike
- Twitter - @Mikeoxyen1