contact-info

personal-info x

/* I am Michael West, an aspiring Software Engineer with a strong passion for web and mobile development. Proficient in JavaScript, TypeScript, Node.js, and React. Possesses excellent problem-solving skills and the ability to work effectively in a team environment. Fluent in English and Shona. Eager to pursue a career in Software and Web Development. */
Code snippet showcase:
U

@mikewesttdev

Created 5 months ago

⭐ 3 stars
1 2 3 4 5 6 7 8 9 10 11 const calculateLineNumbers = () => { const container = containerRef.current; const lineHeight = parseInt(window.getComputedStyle(container!).lineHeight, 10); const totalHeight = (container as any).scrollHeight; const totalLines = Math.ceil(totalHeight / lineHeight); const arr = [] for(let i=0;i<totalLines;i++){ arr.push(i+1) } setLineNumbers(arr); };