Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

Americans pronounce slam as SLAM (/slæm/). In "slam", the "a" vowel before M or N raises and fronts toward [eə] — the tongue pulls up and forward, breaking the vowel into a tense glide as it anticipates the nasal. This is called the Cat-Vowel Before M/N, a hallmark of natural-sounding American speech. It comes out as SLAM. You'll hear it in sentences like "He recited a poem he memorized for the poetry slam event".
Record yourself saying "slam" and play it back. The mic stays on your device — nothing's uploaded.
1 syllable, 4 sounds. Explore each sound's mouth shape and how it's made.
Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

Place the tip of your tongue against the alveolar ridge just behind your top front teeth, the same contact point as /t/, /d/, and /n/. The difference is what happens to the air: for /l/, you let it flow continuously around the <em>sides</em> of the tongue (that's why /l/ is called a lateral). Turn your voice on the whole time. Lips stay relaxed, no rounding or flaring. For the Dark L variant at the end of a syllable, also pull the back of the tongue up and back toward the soft palate.

The tongue relaxes down in the back and the corners of the lips relax before the consonant. This adds a schwa-like 'uh' relaxation after the /æ/. Think of it as 'relaxing out of the vowel' — it is no longer a pure /æ/ sound.

Press your lips together. Air flows through your nose. Vocal cords vibrate.

The textbook way isn't wrong — it's just not how anyone actually says it.
In "slam", the "a" vowel before M or N raises and fronts toward [eə] — the tongue pulls up and forward, breaking the vowel into a tense glide as it anticipates the nasal. The "/æ/" vowel raises and fronts before M or N — tongue pulls up and forward, producing a tense [eə] glide (between /e/ and /ə/). Not a pure /æ/.